Selenium – Locating an element by “id” or “identifier” and “Name” element locators

First of all let me introduce you about element locators and why we need to use it. Element locators are useful to identifying GUI elements (button, link, textbox, dropdown, etc..) of HTML page. Selenium requires element locator to identify such elements to perform required action on that specific element.  There are many different types of … Read more

How to use regular expressions in IDE selenium plug in with example

Using Regular Expression Patterns with selenium Regular Expression Patterns is another matching text pattern which describe text pattern to selenium. There are another two matching text patterns(Globbing Patterns and Exact Patterns) are available but this is the most powerful matching text pattern from all these three. Regular Expression Pattern describes expected text pattern to selenium using … Read more

Matching Text Patterns – Globbing Patterns in selenium IDE plug in with example

Globbing Patterns – selenium Matching Text Patterns Globbing Patterns is the one of the matching text patterns in selenium. You can describe expected text pattern with command’s target column and can use it with verify and assert commands. We can use globbing pattern when expected text string is dynamic and can use with commands like … Read more

Selenium for testing alert on page using “verifyAlertPresent” and “verifyAlertNotPresent” command

“verifyAlertPresent” Command Alert testing with selenium is not very hard. In the Selenium IDE plug-in, there are many commands available related to verification. One of them is “verifyAlertPresent” for verification of alerts on the page. Sometimes, when you take some action on the page, it shows an alert message in a popup. If you want … Read more