Executing javascript in selenium webdriver to get page title with example

JavascriptExecutor is very useful Interface in webdriver software testing tool. Interface JavascriptExecutor helps you to execute javascript in your software test case whenever required. If you knows/remember, We had seen Different examples of executing javascript in selenium IDE to perform different actions. Let me give you one example of executing javascript in selenium WebDriver software testing tool. Sometimes in your test … Read more

Selenium IDE Example Tutorial On “assertNotSelectedIndexes” and “assertNotSelectedIndex”

In Selenium IDE, “assertNotSelectedIndexes” and “assertNotSelectedIndex” commands are nearest same. Both are working with drop down or list box of software web application page. If you knows how to use “assertNotSelectedLabel” and “assertNotSelectedLabels” commands then it will be very easy for you to understand these 2 commands. “assertNotSelectedIndex” command works with single selected label and “assertNotSelectedIndexes” … Read more

Selenium IDE – When to use “assertNotElementWidth” and “assertNotElementHeight” Commands

We have already seen examples of “assertElementHeight” and “assertElementWidth” commands. In those examples, we have seen that “assertElementHeight” and “assertElementWidth” commands will pass if expected and actual height or width of element will match. Else it will fail and return error message and selenium IDE will stop execution. “assertNotElementWidth” and “assertNotElementHeight” commands are working opposite to “assertElementHeight” … Read more

WebDriver – wait for text to be present with example using explicit wait

Some times you need to wait for text, wait for element, wait for alert before performing actions in your regular software web application test cases of selenium webdriver. Generally we need to use this types of conditions in our test case when software web application page is navigating from one page to other page. In my previous post, … Read more