Page 1 of 1
Override Reason Popup not working
Posted: Tue May 14, 2013 3:26 pm
by PJ-UHN
hi can somebody tell me how i can select this dropdown in ranorex.
http://screencast.com/t/ZBxX5v5Qw.
Here is the recorded line in ranorex
And here is what i see when i open up ViewSpy
http://screencast.com/t/EApVQaHFM
When i execute my test case ranorex fails to find 'overrideReasonPopup466890496' not sure what i need to do make this work
thanks
Re: Override Reason Popup not working
Posted: Tue May 14, 2013 3:27 pm
by PJ-UHN
I should also add that this is a drop down list but the element is labeled as Popup, not sure if this helps
thanks
Re: Override Reason Popup not working
Posted: Tue May 14, 2013 4:33 pm
by Support Team
Hello,
Unfortunately the second image is not valid
Could you please post a Ranorex Snapshot file from the element and the RanorexPath, which is used in the repository? Please compare the RanorexPath in Spy with the path in your repository.
Thank you!
Regards,
Bernhard
Re: Override Reason Popup not working
Posted: Tue May 14, 2013 4:58 pm
by PJ-UHN
Re: Override Reason Popup not working
Posted: Tue May 14, 2013 5:06 pm
by PJ-UHN
when i compared the path i noticed there is a dynamic id being used, so i created the reg-ex rule for it
Element ID
overrideReasonPopup153083278
Regex expression
[aA-zZ]+[0-9]*
but still no luck
Mouse_61a2dc02-43c2-4a48-a4fe-302d9c294bb7.jpg
Mouse_4f332a0c-87ad-4ff4-aa72-4e862acc1f70.jpg
thanks
Re: Override Reason Popup not working
Posted: Tue May 14, 2013 6:31 pm
by blackout
if it's the changing/dynamic ID that's giving you the grief, you can always set the repository item XPath where this random ID is situated from:
which I'm imagining it to display as, to:
This should equate to "For any value of 'id' in this location"...unless I'm mistaken?
Re: Override Reason Popup not working
Posted: Tue May 14, 2013 6:50 pm
by Ciege
As support has already requested... Please post a Ranorex Snapshot file from the element...
Re: Override Reason Popup not working
Posted: Wed May 15, 2013 5:19 pm
by PJ-UHN
sorry it took so long to reply but here is the snapshot
Re: Override Reason Popup not working
Posted: Thu May 16, 2013 4:26 pm
by Support Team
Hello,
Thank you for the snapshot file.
There is a new bolg on our website that describes how to work with dynamic id's (
Automated Testing and Dynamic IDs).
Please let me know if this help solving your issue.
Regards,
Bernhard
Re: Override Reason Popup not working
Posted: Thu May 16, 2013 5:25 pm
by omayer
Thank you Bernhard , this is very helpful and I was looking this for a long time.