Hiya superstars! I know that you are now an expert in handling text boxes and images, but there is more to learn. Let us get hard-core! Let us understand how to handle radio buttons, checkboxes, dropdowns, tables, alerts and much more but we will see one at a time. In this post, we will concentrate on handling radio buttons and checkboxes. At the end, you will be more expressive with WebDriver than you ever thought is possible. [Read more…]
Hiya champs! Welcome to our final post on locating elements. Yay!!!
This is a continuation from our previous post, “9n. WebDriver – Locating elements: Part 4a (by XPath)”. You have heard me say this before and you will hear me say it again… read Part 4a before going any further for a complete grip on using XPath strategies.
In this post, we will be looking into the below techniques,
- Using Text()
- Using starts-with()
- Using XPath axes
These techniques along with the ones we saw in part 4a, can be combined and used to form an effective XPath that can locate any element on the web page. Time to walk through today’s techniques with examples.
Welcome back, we will cover XPath strategies today. This is an advanced and effective locating strategy as well (by cssSelectors was too!). While being effective, it can sometimes be confusing. So, let us delve on how to understand our often misunderstood friend and come up with the good code once for all.
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…]
Here comes today’s icing on the cake: ‘a shortcut to validate if the chosen locator strategy uniquely identifies the web element under test’. [Read more…]