List Of Interview Questions For Selenium WebDriver
Part 17 78 : What Is the syntax to get value from text box and store It In variable. Answer : Most of the time, String In text box will be stored as value. So we need to access value attribute(getAttribute) of that text box as shown In bellow example. String Result = driver.findElement(By.xpath(“//input[@id=’Resultbox’]”)).getAttribute(“value”); VIEW … Read more