Cannot recognize object during run time.

Ask general questions here.
jwei
Posts: 8
Joined: Fri Nov 09, 2012 7:34 pm

Cannot recognize object during run time.

Post by jwei » Fri Nov 09, 2012 8:54 pm

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?
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Cannot recognize object during run time.

Post by Support Team » Mon Nov 12, 2012 3:46 pm

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)

jwei
Posts: 8
Joined: Fri Nov 09, 2012 7:34 pm

Re: Cannot recognize object during run time.

Post by jwei » Tue Nov 13, 2012 1:49 am

Snapshot file is attached.
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Cannot recognize object during run time.

Post by Support Team » Tue Nov 13, 2012 1:22 pm

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

jwei
Posts: 8
Joined: Fri Nov 09, 2012 7:34 pm

Re: Cannot recognize object during run time.

Post by jwei » Tue Nov 13, 2012 6:34 pm

Please check this snapshot again, I click track button to add login button to repository, but I cannot highlight this button.
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Cannot recognize object during run time.

Post by Support Team » Wed Nov 14, 2012 11:27 am

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)
You do not have the required permissions to view the files attached to this post.