Monthly Archives: November 2008

Internet Explorer doesnt handle xpath to locate images exceptionally well

>So i have been doing a lot of selenium and the website i am trying to automate test fordoesnt have a lot of element with id, name, or any other HTML attributes that makes selenium testing a bit easier. So … Continue reading

Posted in Software Testing | Tagged , , | Leave a comment

Use selenium to create screenshot

>I just stunbled across selenium as a tool to take screenshot.Thuis could be useful for anything. In my case i used it to take the screenshot of a page just before it throws an error in my selenium test. and … Continue reading

Posted in Software Testing | Tagged , , , | Leave a comment

>Selenium and Javascript events

>Have you ver been in situattion when youhave typed a value into a text box and you expect aJavascript event to be called such as “OnBlur” welll selenium has a method “FireEvent” which triggers the event for you, but then … Continue reading

Posted in Software Testing | Tagged , , , | 2 Comments

Selenium: Xpath locator can not be used as Option Locator

>In my new job been doing a lot of selenium and i needed to scroll through the list ofoptions in a select element and click on a particular options. i have initially used the browser.DoubleClick browser.DoubleClick(“xpath=//select/option[child::text()=’Option_Label’]”);) But then this didnt … Continue reading

Posted in Software Testing | Tagged , | Leave a comment