Page 1 of 1

Unable to automate: Ranorex - Object property ID is missing

Posted: Wed Aug 21, 2013 6:04 am
by Neethy
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.

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

Posted: Fri Aug 23, 2013 4:12 pm
by Support Team
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

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

Posted: Fri Aug 23, 2013 4:25 pm
by Neethy
Hi

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

Regards,
Neethy

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

Posted: Tue Aug 27, 2013 9:19 am
by Support Team
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

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

Posted: Wed Aug 28, 2013 8:48 am
by Neethy
Hi Bernhard,

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

Regards,
Neethy

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

Posted: Mon Sep 02, 2013 1:26 pm
by Support Team
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