How to find desktop applications icon in Xpath?
-
- Posts: 6
- Joined: Fri Aug 31, 2018 7:22 am
How to find desktop applications icon in Xpath?
i am working on a windows application, and due to versioning issue we need to change version of the application every time, so i need to find icon by x path, which will ignore the x,y co-ordinates recorded. Can you please find me solution?
Re: How to find desktop applications icon in Xpath?
Hi,
I'm afraid, there is not much anyone here can do without, at very least, a Ranorex snapshot (NOT screenshot) of the application/desktop icon in question. Please create and upload the snapshot (either here or using a 3rd party file sharing service, like dropbox or onde drive).
What is the xpath recorded by Ranorex?
I'm afraid, there is not much anyone here can do without, at very least, a Ranorex snapshot (NOT screenshot) of the application/desktop icon in question. Please create and upload the snapshot (either here or using a 3rd party file sharing service, like dropbox or onde drive).
What is the xpath recorded by Ranorex?
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: 6
- Joined: Fri Aug 31, 2018 7:22 am
Re: How to find desktop applications icon in Xpath?
Hello, Pardon me,
Please find the attached screenshot
Please find the attached screenshot
-
- Posts: 6
- Joined: Fri Aug 31, 2018 7:22 am
Re: How to find desktop applications icon in Xpath?
Below is the application icon snapshot
-
- Posts: 6
- Joined: Fri Aug 31, 2018 7:22 am
-
- Posts: 6
- Joined: Fri Aug 31, 2018 7:22 am
Re: How to find desktop applications icon in Xpath?
I attached all the details, Please help me on this
Re: How to find desktop applications icon in Xpath?
Hi,
I'm not quite sure, which of the available icons exactly do you want to select? If you want to dynamically select the shortcut, based of the version number, then you need to adapt the repo element xpath with variable, like this:
I'm not quite sure, which of the available icons exactly do you want to select? If you want to dynamically select the shortcut, based of the version number, then you need to adapt the repo element xpath with variable, like this:
And of course, you need to fill the version number variable before accessing the shortcut. The only problem of the above solution is, that it may not pickup the shortcut, without version number. So make sure all shortcuts use version number and in the same format. Hope this helps?/desktop[@processname='explorer']/?/?/list/listitem[@text='BLS.LogisticSuite - Shortcut ' + $versionNumber]
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