Take a screenshot with webdriver

selenium

Now we want to take a screenshot of our webpage. So first we need to open the browser and then take a snap and save it to our local. like –

Share Button

Firefox webdriver lunch

selenium

This is the sample of selenium firefox webdriver code. It just open the browser, more like first step of selenium webdriver testing.

Share Button

Entering data into HTML form with selenium

selenium

To entering data into html form we can use this sample piece of code. It open the desired webpage with browser and will enter data into webpage.

Share Button

First Test in selenium with eclipse

selenium

First Test in selenium with eclipse First download selenium server from – http://seleniumhq.org/download/ say (selenium-server-standalone-2.28.0) and also download language client version of java Now extract selenium-java-2.28.0 and take only jar file (selenium-java-2.28.0.jar) from it Now […]

Share Button

WATiR installation with eclipse

For WatiR installation we required eclipse , ruby dltk plugin ,and obviously ruby. 1. Download Ruby from http://rubyinstaller.org/downloads/ For ruby 2.0 you can use this direct link http://rubyforge.org/frs/download.php/76804/rubyinstaller-2.0.0-p0.exe 2.Eclipse Download from www.eclipse.org/downloads/ 3.For dltk download […]

Share Button