I record a simple login page, but the Login button is not clicked when I play back the script.
On Path Editor window, message shows "one element found", but I click Highlight button to locate the object, no object is highlighted.
If I change the required option to tagvalue, Login button can be highlighted, but message shows two elements found.
How can I solve this issue?
Cannot recognize object during run time.
Cannot recognize object during run time.
- Attachments
-
- screenshot.png (117.5 KiB) Viewed 1163 times
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Cannot recognize object during run time.
Hello,
Could you please provide us a snapshot of your application?
(Take a look at our section Creating Ranorex Snapshot Files in our User Guide.)
Regards,
Markus (T)
Could you please provide us a snapshot of your application?
(Take a look at our section Creating Ranorex Snapshot Files in our User Guide.)
Regards,
Markus (T)
Re: Cannot recognize object during run time.
Snapshot file is attached.
- Attachments
-
- login.rxsnp
- (491.23 KiB) Downloaded 182 times
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Cannot recognize object during run time.
Hi,
Thanks for the snapshot!
The snapshot looks okay for me, so what happens if you copy the RxPath (with the id) of that element to the Spy, could Spy highlight the element?
What happens if you click on the "Verify" button before you click on "Highlight"?
Regards,
Markus
Thanks for the snapshot!
The snapshot looks okay for me, so what happens if you copy the RxPath (with the id) of that element to the Spy, could Spy highlight the element?
What happens if you click on the "Verify" button before you click on "Highlight"?
Regards,
Markus
Re: Cannot recognize object during run time.
Please check this snapshot again, I click track button to add login button to repository, but I cannot highlight this button.
- Attachments
-
- login_11132012.rxsnp
- (457.24 KiB) Downloaded 170 times
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Cannot recognize object during run time.
Hello,
Thank you for your snapshot.
The button is NOT uniquely identified within your application under test.
There are two buttons with the same ID (submit) and TagValue (login).
One of them is not accessible as shown in the attachment.
Please verify this button in your application.
Regards,
Markus (T)
Thank you for your snapshot.
The button is NOT uniquely identified within your application under test.
There are two buttons with the same ID (submit) and TagValue (login).
One of them is not accessible as shown in the attachment.
Please verify this button in your application.
Regards,
Markus (T)
- Attachments
-
- SubmitButton_tagvalue.JPG (28.86 KiB) Viewed 1114 times