Wednesday, 27 February 2013

Fireevent in selenium

Following code demonstrates use of fireevent in selenium. Look at  following JSP code there are two input boxes, after typing somthing in the first input box and then when you loose the focus ,it calls

Wednesday, 20 February 2013

User Extension in selenium


Some time it is necessary to add some more functionality in selenium. This can be achieved by extending user-extensions.js file.

Monday, 18 February 2013

Selenium does not close the Internet Explorer browser after selenium.stop(); method

Selenium with the combination of  windows 7, IE 9 . After executing selenium.stop(); method, ideally it should close test runner and AUT window.However it closes only test runner window and
app window remains open .

Friday, 15 February 2013

Uses of browserbot in selenium

Some time we need to access application dom in selenium . Dom can be accessed in selenium  by using browserbot object.

Monday, 11 February 2013

Upgradation from selenium to webriver

I am using selenium 2.0 in my automation suite . Few days before i tried to use webdriver and thought to upgrade from selenium 1.0 to selenium 2.0.

Sunday, 10 February 2013

OnSelect event handling on IE7 in selenium

I stuck in suite execution when i was running automation suite on IE 7. On further drill down i came to know that the application has one input element having onSelect attribute .

Friday, 8 February 2013

Validate PDF data in selenium using java in firefox browser

There are many web applications which acknowledges some operation by  showing pdf file(like order confirmation receipt in pdf document) . Few days before I stuck when i was automating such scenario which shows pdf file using selenium , so i did some research on this and written following blog .Following code will help you to automate the pdf data validation.