How do you verify if the checkbox/radio is checked or not?
Answer / Mr Sandeep Kumar
To verify if a checkbox or radio button is checked, locate the element using its WebElement object and then compare its selected state. If the checkbox, for example, has the attribute 'checked' equal to 'true', then it is checked; otherwise, it's not.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is object repository in selenium webdriver?
What selenium components do you know?
How to developer selenium test cases?
How can we type text in a textbox element using selenium?
How to capture screenshot in webdriver?
How to insert a start point in selenium ide?
What is the difference between verify and assert commands?
How to perform right click action (context click) in selenium webdriver?
What kind of mouse actions can be performed in selenium?
What is Selenese?
Explain the line of code webdriver driver = new firefoxdriver()?
What kinds of tests can be run with the selenium framework?