Ranorex Spy does not update element path after test fails
Posted: Tue Jul 29, 2014 9:50 am
When something fails in your test, because the item checked changed (e.g. changed ID) it is natural to click Edit (with Spy) in the repository pane and click Track in the spy to point to the item that should be validated or actuated. However after doing so the xPath in the spy window does not change, so I cannot apply it immediately.
I have figured out a workaround for this: I would point the cursor at the failing element and use hotkey LCtrl+LWin and replace the old element with the new one in step, then cleanup the repository to remove the old one.
Even though a workaround is possible, it is awkward and seems that a feature that was designed to make maintenance task easy fails.
If this is not an easily reproducable problem, I can share details about my environment and projects upon request.
I have figured out a workaround for this: I would point the cursor at the failing element and use hotkey LCtrl+LWin and replace the old element with the new one in step, then cleanup the repository to remove the old one.
Even though a workaround is possible, it is awkward and seems that a feature that was designed to make maintenance task easy fails.
If this is not an easily reproducable problem, I can share details about my environment and projects upon request.