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.
Unable to automate: Ranorex - Object property ID is missing
- Support Team
- 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
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
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
Hi
Thank you for your response.
I have attached the snapshot of the objects.
Regards,
Neethy
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.
- Support Team
- 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
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
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
Hi Bernhard,
I have Uploaded the screen shots and Webpage Highlighting the objects.
Please check and let me know.
Regards,
Neethy
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.
- Support Team
- 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
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: Input tag1: …//input[@title='Discrete Value' and @name~'pid1']
Input tag2: …//input[@title='Discrete Value' and @name~'pid2']
Regards,
Markus
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: 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.