History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-330
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Dan Fabulich
Reporter: Dan Fabulich
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

In PI mode; custom locator strategies are lost between page loads

Created: 23/Aug/07 07:06 PM   Updated: 12/Aug/08 05:37 PM
Component/s: Proxy Injection
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
TestAddLocatorStrategy fails in PI mode due to this bug.

doAddLocatorStrategy on the JS side adds a locator strategy to the JS Selenium object; naturally, it gets wiped away in PI mode when you change pages and a new Selenium object is created.

The workaround is simple but annoying: add your locator strategy back in after every page load. The fix is to add locator strategies as JS vars on the server side.

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.