Welcome back, Warriors! We just saw how to check if a particular data is present in a table’s specific cell with and without using XPath. Time to loop through each element and visualize the power of Selenium WebDriver. Let us go back to our Demo Site and focus on “Books & Authors” table to understand this concept.
Hiya testers! If you have been following my posts closely, you should already be a pro in entering text using Selenium WebDriver. If not(with a sad face), nothing to worry! I got you all covered. [Read more…]
Hiya friends! If you stepped into the World of Selenium, you must have run into Web Elements! Text boxes, buttons, links, checkboxes, radio buttons, dropdowns, alerts etc., everything is treated as a web element. Using locator types and strategies, we can easily identify any desired element on the page. This is the most crucial step for interacting with the page and referencing these elements further in the code. And yes, it is very similar to what we saw in Selenium IDE except for the syntax and the way the concept is applied.
Hiya folks! This post is all about Locating Elements on a web page (as promised in the previous post).
These days it has become really easy to identify one’s geographic location. GPS has made it possible. Similarly, the exact web element (such as, text box, check boxes, buttons, links, dropdowns etc.) that the Selenium IDE has to operate on can be identified using Locator Types.
If you notice the automated test script generated by Selenium IDE, it can be seen that most commands require a Target. This target identifies the web element under test and is of the format LocatorType=Location. The LocatorType can be omitted in most of the cases about which we will see shortly.