Setup Grid instance on a remote machine and executing the test script on the remote machine. 

Requirements on your current system (System A) and remote system (System B)
Download and Install Chrome browser
Selenium Server Download version 2.33.0 from http://docs.seleniumhq.org/download/
Chromedriver from https://code.google.com/p/chromedriver/downloads/list
Latest version of Java Version 7 download it from http://java.com/en/download/index.jsp

More…

Setup method for running Grid using Selenium Webdriver 

Here is the article that give you the details of how to create the Startup method to invoke the grid and passing the Grid IP Address parameter

More…

By Pavandeep Puddupakkam on | Java | A comment?
Tags: , ,

How to read a PDF file using Selenium Webdriver Scripts 

I have been asked this questions a multiple of times about reading the PDF files. I had to do some research and found a way to read the content and also verify the content of the PDF file using the Selenium Webdriver script.

More…

By Pavandeep Puddupakkam on May 24, 2013 | Java, WebDriver | A comment?
Tags: , , , , ,

Using Ternary Operator in Webdriver Automation Scripts 

I was recently been introduced to Ternary Operator by my colleague and I stared to like it because it can get rid of all the if..else.. conditions and just does the lot in one line.

More…

By Pavandeep Puddupakkam on | Java, WebDriver | A comment?
Tags: , ,

Video recording the Selenium Automation scripts 

Its been a long time since I have posted an article, been very busy with work. So, here is an article about video recording the automation scripts that you running.

More…

By Pavandeep Puddupakkam on | Java, WebDriver | 2 comments
Tags: , ,

Select multiple elements – Ctrl + Mouse click – Selenium Webdriver 

Here is the code in Java – Webdriver to select multiple elements on the page:

public void selectMultiple()
{
new Actions(driver).keyDown(Keys.CONTROL).
click(driver.findElement(By.xpath("//div[@class='v-table'][.='aaa']"))).
click(driver.findElement(By.xpath("//div[@class='v-table'][.='bbb']"))).
keyUp(Keys.CONTROL).
perform();
}

By Pavandeep Puddupakkam on November 22, 2012 | Java, WebDriver | A comment?
Tags: , , ,


Automation Tips
Automation Tools
QA Interview Q&A
Selenium IDE
Selenium RC
Software Testing
WebDriver
XPath