Do you know how to verify if the checkbox/radio is checked or not?
Submitted by: MuhammadisSelected() method is used to verify if the checkbox/radio is checked or not. An example -
driver.findElement(By.xpath("XPath of the checkbox/radio button")).isSelected();
Submitted by: Muhammad
driver.findElement(By.xpath("XPath of the checkbox/radio button")).isSelected();
Submitted by: Muhammad
Read Online Automation Job Interview Questions And Answers
Top Automation Questions
☺ | What is Selenium? |
☺ | Tell me does the Selenium have any limitations? |
☺ | Tell me what is an Absolute XPath? |
☺ | Explain me what the WebDriver supported Mobile Testing Drivers do you know? |
☺ | Tell us what is the alternate way to click on login button? |
Top Testing Categories
☺ | Manual Testing Interview Questions. |
☺ | Rational TestSuite Interview Questions. |
☺ | QTP Interview Questions. |
☺ | Database Testing Interview Questions. |
☺ | Software QA Interview Questions. |