I was having problem while selecting the original window following the closure of popUp window. Error was "com.thoughtworks.selenium.SeleniumException: ERROR: Window does not exist. If this looks like a Selenium bug, make sure to read http://selenium-core.openqa.org/reference.html#openWindow for potential workarounds"
This got resolved when used selenium.selectWindow("null") instead of selenium.selectWindow("name=null") to select the original window.
Thursday, October 22, 2009
Wednesday, November 5, 2008
How to capture an object when its id changes in runtime environment?
In case, object Id changes in runtime environment, objects can be captured in one of the following ways:
1. using object name instead of object id
2. using object location (x-path)
3. using object value
1. using object name instead of object id
2. using object location (x-path)
3. using object value
Monday, November 3, 2008
Saturday, November 1, 2008
Selenium
I am using Selenium IDE and selenium RC to perform functional testing in web based applications since 2008. I am planning to record challenges and solutions I found to resolve the issues for future reference.
Subscribe to:
Posts (Atom)