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: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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
.
Image

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
Attachments
Application root info view2.rxsnp
object 1
(128 KiB) Downloaded 160 times
Application root info view1.rxsnp
object 2
(229.87 KiB) Downloaded 169 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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
.
Image

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
Attachments
ToRanorex.7z
(612.07 KiB) Downloaded 217 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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
Attributes.png (8.07 KiB) Viewed 1080 times
Input tag1: …//input[@title='Discrete Value' and @name~'pid1']
Input tag2: …//input[@title='Discrete Value' and @name~'pid2']

Regards,
Markus
.
Image