Page 1 of 1

Cannot recognize object during run time.

Posted: Fri Nov 09, 2012 8:54 pm
by jwei
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?

Re: Cannot recognize object during run time.

Posted: Mon Nov 12, 2012 3:46 pm
by Support Team
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)

Re: Cannot recognize object during run time.

Posted: Tue Nov 13, 2012 1:49 am
by jwei
Snapshot file is attached.

Re: Cannot recognize object during run time.

Posted: Tue Nov 13, 2012 1:22 pm
by Support Team
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

Re: Cannot recognize object during run time.

Posted: Tue Nov 13, 2012 6:34 pm
by jwei
Please check this snapshot again, I click track button to add login button to repository, but I cannot highlight this button.

Re: Cannot recognize object during run time.

Posted: Wed Nov 14, 2012 11:27 am
by Support Team
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)