Hi All,
I have automated one application in my system and it is working fine.
when one of my friend is trying to use the same object repository and execute the scripts it is not working.
Could you please tell me what could be the reason?
/dom[@page='PPSS' and @path='/PPSS/PPSS' and @browser>'{Form:PROS Accenture']
the above xpath is working fine in my system
however it is not working for others
/dom[@caption~'^PROS\ Accenture\ R2\.7\ \(VRTV' and @page='PPSS' and @path='/PPSS/PPSS' and @browsername='IE' and @pageurl='https://gps-vrtvw5989.ciotest.accenture ... inComplete']
How to handle object identification issues in 2 m/cs
-
- Posts: 23
- Joined: Tue Feb 10, 2015 10:51 am
Re: How to handle object identification issues in 2 m/cs
Please include the following information when raising an issue on the forums:
1. Ranorex version (current is 5.3.1)
2. Windows version
3. Technology of the system under test (HTML, Flash/Flex, Java, etc.)
4. Error message, if any.
Also, with XPath issues, it is helpful to post a Ranorex Snapshot of the element in question (note, this is not a screenshot). You can find information on creating a Ranorex Snapshot here. If you can't or don't want to post it here, you can send it to the Ranorex support team at [email protected].
You list two different paths, which one works?
Finally, have you verified (using Ranorex Spy) that the element has the same path on your system and your friend's system? For instance, I see you have the browser name in your xpath, are you sure your friend is running on the same browser and is hitting exactly the same url?
1. Ranorex version (current is 5.3.1)
2. Windows version
3. Technology of the system under test (HTML, Flash/Flex, Java, etc.)
4. Error message, if any.
Also, with XPath issues, it is helpful to post a Ranorex Snapshot of the element in question (note, this is not a screenshot). You can find information on creating a Ranorex Snapshot here. If you can't or don't want to post it here, you can send it to the Ranorex support team at [email protected].
You list two different paths, which one works?
Finally, have you verified (using Ranorex Spy) that the element has the same path on your system and your friend's system? For instance, I see you have the browser name in your xpath, are you sure your friend is running on the same browser and is hitting exactly the same url?
Shortcuts usually aren't...
-
- Posts: 23
- Joined: Tue Feb 10, 2015 10:51 am
Re: How to handle object identification issues in 2 m/cs
Thanks for the quick response.
When I installed Ranorex the version was 5.2.2 and tried upgrading it.However it didn't change the version.
Could you please tell me the process to upgrade.
My friend has 5.3.1 version.
Both of us are hitting the same url and same system configuration.
I have attached error snapshot.
in my system it is working fine.
regards,
Sangita
When I installed Ranorex the version was 5.2.2 and tried upgrading it.However it didn't change the version.
Could you please tell me the process to upgrade.
My friend has 5.3.1 version.
Both of us are hitting the same url and same system configuration.
I have attached error snapshot.
in my system it is working fine.
regards,
Sangita
You do not have the required permissions to view the files attached to this post.
Re: How to handle object identification issues in 2 m/cs
The fact that you each have different versions installed could be the culprit here.
To install 5.3.1, download it here and run the downloaded executable.
If you have issues with the install, then you should do a clean uninstall first.
1. Uninstall the existing Ranorex installation.
2. Reboot.
3. Install as above.
To install 5.3.1, download it here and run the downloaded executable.
If you have issues with the install, then you should do a clean uninstall first.
1. Uninstall the existing Ranorex installation.
2. Reboot.
3. Install as above.
Shortcuts usually aren't...
Re: How to handle object identification issues in 2 m/cs
Also, you posted a screenshot, not a Ranorex Snapshot, as requested. Please see my original post.
Shortcuts usually aren't...
Re: How to handle object identification issues in 2 m/cs
Hi,
In my opinion, the whole problem starts with overcomplicated DOM path. Are all these attributes in your path really necessary?
In the screenshot you posted, there is used this attribute...
I would definitely recommend to reduce the number and complexity of attributes in DOM path.
In my opinion, the whole problem starts with overcomplicated DOM path. Are all these attributes in your path really necessary?
In the screenshot you posted, there is used this attribute...
However, in your first post you mentioned different content of @browser attribute...@browser>'{Form:http'
So which one is correct?@browser>'{Form:PROS Accenture'
I would definitely recommend to reduce the number and complexity of attributes in DOM path.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration