Hi,
XPath: /desktop[@processname='explorer']//listitem[@text='Diagnosis Files']
On Spy, the parent and child elements gets highlight without any issue, but during execution it fails to identify.
No just above object, all the desktop items fails during execution.
Ranorex Version : 9.3.2+git.9da16f76
Snapshot Attached: DesktopItem.rxsnp
Regards
Chida
Cannot identify desktop items during execution
-
- Posts: 2
- Joined: Thu Oct 22, 2020 1:40 pm
Cannot identify desktop items during execution
You do not have the required permissions to view the files attached to this post.
Re: Cannot identify desktop items during execution
Hi,
How did you take the snapshot? Manually via Spy or from recording module? I'm asking, because the snapshot apparently does not show/contain anything under Desktop element? And this is most probably also why the xpath fails.
At first, try to update Ranorex with most recent 9.3.3 and the add 'explorer' process to Ranorex whitelist.
How did you take the snapshot? Manually via Spy or from recording module? I'm asking, because the snapshot apparently does not show/contain anything under Desktop element? And this is most probably also why the xpath fails.
At first, try to update Ranorex with most recent 9.3.3 and the add 'explorer' process to Ranorex whitelist.
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
-
- Posts: 2
- Joined: Thu Oct 22, 2020 1:40 pm
Re: Cannot identify desktop items during execution
-Verified Whitelist and explorer is added to whitelist.
-Yes, I saved the snapshot via Spy.
Still no success in making the click work on the desktop items.
Observation:
1. If record and playback, the action of clicking the desktop item works fine.
2. If Same item (Same Xpath) is accessed via new repository created (not created by recording) in user code module, the click doesn't work.
Xpath: /desktop[@processname='explorer']//listitem[@text='Support Tool']
-Yes, I saved the snapshot via Spy.
Still no success in making the click work on the desktop items.
Observation:
1. If record and playback, the action of clicking the desktop item works fine.
2. If Same item (Same Xpath) is accessed via new repository created (not created by recording) in user code module, the click doesn't work.
Xpath: /desktop[@processname='explorer']//listitem[@text='Support Tool']
Re: Cannot identify desktop items during execution
Hi,
Well, then there is most probably a problem with code module? Any chance you can share your code?
Well, then there is most probably a problem with code module? Any chance you can share your code?
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