How To Select Option By Value or By Index In Selenium WebDriver With Example

In my earlier post, We have seen example of HOW TO SELECT OPTION BY VISIBLE TEXT from drop down. There are two more alternatives to select option value from drop down or list box in selenium webdriver software testing tool. 1. Selecting Option By Value and 2. Selecting Option By Index. You can use any one from these three to select … Read more

Example of Handling Multiple Browser Windows in Selenium WebDriver

Selenium WebDriver software testing tool has built in “WebDriver.switchTo().window()” method available to switch from one window to another window so it is very easy to handle multiple windows in webdriver. If you remember, We can use “selectWindow” window command in selenium IDE software testing tool to select another window. If window do not have any title or both … Read more

Generating Alert In Selenium Webdriver using JavascriptExecutor

If you need to generate alert during your software test case execution then you can use java script Executor in selenium webdriver software testing tool. Java Script Executor is very helpful interface of selenium webdriver because using it we can execute any java script. I think manual alert generation in webdriver test is required only in rare … Read more

Selenium – How to select window if window do not have title or name

Selecting new opened window using “selectWindow” command in selenium IDE is very easy if new window has title or name. Click here to view example of “selectWindow” command with title as a target. If window has title then we can add it’s title in target field with “selectWindow” command and this way selenium can identify window. … Read more