Selenium Codes - Web Browser Automation
Friday, November 11, 2011
How to locate an element with multiple CSS classes?
›
Consider if multiple classes are applied to an element, then how to identify it using CSS locator? See the below HTML element is applied wit...
Tuesday, October 25, 2011
Sending KeyStrokes
›
Sending key combination using Selenium-WebDriver public void fn_sendKeys() { String strURL; WebElement txtGoogle; WebDriver firefox=new Fire...
Monday, October 24, 2011
Checking and Unchecking Web Checkbox
›
We can use the below methods to check or uncheck web checkbox. //Checking public void CheckingChkbox(WebElement chkbx1){ boolean checkstatus...
Thursday, October 20, 2011
Selecting Multiple Items in Listbox
›
Selecting multiple HTML Listbox's options String strURL; strURL="URL"; WebDriver firefoxDriver=new FirefoxDriver(); firefoxDr...
3 comments:
Tuesday, October 18, 2011
Handling Javascript Popups Using Selenium-WebDriver
›
We can use the below methods to handle Javascript popups. # accept() This method can be used to click 'OK' button in a popup WebDriv...
1 comment:
Home
View web version