Take a screenshot with webdriver
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 –
Learning Never Ends …
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 –
This is the sample of selenium firefox webdriver code. It just open the browser, more like first step of selenium webdriver testing.
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.
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 […]
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 […]