-
Clicking Check Box & Radio buttons
In all the example we have tried in the tutorial so far, we have not performed any action on “Checkbox” or “Radio Buttons”, Well in this tutorial we’ll see them all. Ideally “Checkbox” or “Radio Buttons” can be identified by simple “ID attributes”. But while doing actual automation that’s not the only thing we want.…
-
Different ways to identify element using Selenium WebDriver’s findElement method
We learned in “Locators In Selenium IDE” chapter and looked by example how to use this locator in the Selenium IDE with examples. To use the same locator in Selenium Webdriver the general syntax is below. driver.findElement(By.<locatorName> (“<<Identifier>>”)); Element location Strategy: The findElement methods take a locator value or it query object called ‘By’. In…