Unable to automate: Ranorex - Object property ID is missing

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Neethy
Posts: 3
Joined: Wed Aug 21, 2013 5:48 am

Unable to automate: Ranorex - Object property ID is missing

Post by Neethy » Wed Aug 21, 2013 6:04 am

Description:We are facing technical challenges, while automating the test cases with Test shell using Ranorex. Which is mentioned below:

Ranorex major works on two parameters to identify an object in an application “object property IDs” (which are always unique for each object) and “inner text of the object” (This can be same for two or more objects). But in application to which we are automating, objects do not contain property IDs (Object property IDs are missing) but contains only inner text.

So if two different objects on same page have same inner text, then Ranorex is unable to differentiate both and click on the object , which comes first on same page.

Kindly suggest how to identify these objects.

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

Re: Unable to automate: Ranorex - Object property ID is missing

Post by Support Team » Fri Aug 23, 2013 4:12 pm

Hello,

Are there any other attributes in order to identify the element uniquely.
Is it possible to send a Ranorex Snapshot file in order to analyze the issue in more detail.
Thank you!

Regards,
Bernhard

Neethy
Posts: 3
Joined: Wed Aug 21, 2013 5:48 am

Re: Unable to automate: Ranorex - Object property ID is missing

Post by Neethy » Fri Aug 23, 2013 4:25 pm

Hi

Thank you for your response.
I have attached the snapshot of the objects.

Regards,
Neethy
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: Unable to automate: Ranorex - Object property ID is missing

Post by Support Team » Tue Aug 27, 2013 9:19 am

Hello Neethy,

Thank you for the snapshot files. Could you please give me an example in order to find some elements, which have the same "inner text" value?
Thank you!

Regards,
Bernhard

Neethy
Posts: 3
Joined: Wed Aug 21, 2013 5:48 am

Re: Unable to automate: Ranorex - Object property ID is missing

Post by Neethy » Wed Aug 28, 2013 8:48 am

Hi Bernhard,

I have Uploaded the screen shots and Webpage Highlighting the objects.
Please check and let me know.

Regards,
Neethy
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: Unable to automate: Ranorex - Object property ID is missing

Post by Support Team » Mon Sep 02, 2013 1:26 pm

Hi,

If the Name attribute of the input tags doesn’t change, is static, you can use the Name attribute in order to
distinguish between the tags:
Attributes.png
Input tag1: …//input[@title='Discrete Value' and @name~'pid1']
Input tag2: …//input[@title='Discrete Value' and @name~'pid2']

Regards,
Markus
You do not have the required permissions to view the files attached to this post.