Hello.
My company is evaluating your product, and we come across a problem we could not resolve.
Tracking engine can see 2 items, parent and child. These are theirs urls:
/form[@title>'Prenotazione - Ricetta Numero']//element[@controlid='1017']/element[@controlid='1016']
/form[@title>'Prenotazione - Ricetta Numero']//element[@controlid='1017']/element[@controlid='1016']/text[@accessiblename='pranaprz_prz_desb']
But in runtime, child can not be seen. When I stop app execution, and try to locate child with track, he does not see it.
If I close the app, and open it regularly, this item can be tracked.
Thank you in advance.
Repository items visibility during runtime
-
- Posts: 8
- Joined: Wed Jul 21, 2021 10:00 am
Repository items visibility during runtime
You do not have the required permissions to view the files attached to this post.
Re: Repository items visibility during runtime
Hello, try tracking the items using Ranorex Spy, find the item and click on it. The path should be visible in Spy. Right click on spy and add it and children to your repository.
Sales Engineer @ Ranorex
-
- Posts: 8
- Joined: Wed Jul 21, 2021 10:00 am
Re: Repository items visibility during runtime
Thank you for quick response.
I dont have option for adding item to repository, probably because this is desktop app.
In attach is how parent and child items are defined.
The problem is that ranorex detects them as separate entities.
I also tried to make parent item as root folder, and to add child to it, but logic in ranorex spy is again the same.
In runtime he is trying to find child inside parent item, and can not.
I dont have option for adding item to repository, probably because this is desktop app.
In attach is how parent and child items are defined.
The problem is that ranorex detects them as separate entities.
I also tried to make parent item as root folder, and to add child to it, but logic in ranorex spy is again the same.
In runtime he is trying to find child inside parent item, and can not.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 8
- Joined: Wed Jul 21, 2021 10:00 am
Re: Repository items visibility during runtime
Sorry, here is expanded parent tree. As you can see, there is not present required child element.
You do not have the required permissions to view the files attached to this post.
Re: Repository items visibility during runtime
Perhaps you already are doing this? But make sure you are running Ranorex as Administrator, that way it will also launch the AUT as administrator as well.
Sales Engineer @ Ranorex
-
- Posts: 8
- Joined: Wed Jul 21, 2021 10:00 am
Re: Repository items visibility during runtime
I tried to run ranorex as admin, but the problem is same.
In ranorex spy I put parent item as root directory, and put child item inside, but he still can not find child in parent directory.
Does this means that we have no control of element connections, but it is fixed as ranorex tracking system sees it?
In ranorex spy I put parent item as root directory, and put child item inside, but he still can not find child in parent directory.
Does this means that we have no control of element connections, but it is fixed as ranorex tracking system sees it?
You do not have the required permissions to view the files attached to this post.
Re: Repository items visibility during runtime
Hi,
Could you please create and post a Ranorex snapshot (NOT screenshot) of the AUT during the execution? Simply add Create snapshot action in recording of your choice, ideally, just before the failing action. Thanks.
Could you please create and post a Ranorex snapshot (NOT screenshot) of the AUT during the execution? Simply add Create snapshot action in recording of your choice, ideally, just before the failing action. Thanks.
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: 8
- Joined: Wed Jul 21, 2021 10:00 am
Re: Repository items visibility during runtime
Additional info:
When ranorex is not in runtime mode, parent is seen like this:
/form[@title>'Prenotazione - Ricetta Numero']//element[@controlid='1017']/element[@controlid='1016']
and it has child
And when ranorex is in runtime mode, parent is seen like this:
/form[@title>'Prenotazione - Ricetta Numero']/element[@controlid='1009']/element[@controlid='1000']/element[@controlid='1017']/element[@controlid='1016']
and it has no child
When ranorex is not in runtime mode, parent is seen like this:
/form[@title>'Prenotazione - Ricetta Numero']//element[@controlid='1017']/element[@controlid='1016']
and it has child
And when ranorex is in runtime mode, parent is seen like this:
/form[@title>'Prenotazione - Ricetta Numero']/element[@controlid='1009']/element[@controlid='1000']/element[@controlid='1017']/element[@controlid='1016']
and it has no child
Re: Repository items visibility during runtime
Hi,
Well the first issue is, that controlids are not persistent. Therefore, you will have to eliminate them and use something else to identify the element in question, maybe even directly unrelated to the element in question (using xpath axes)? Unfortunately, it's impossible to suggest something reliable without, at very least, a Ranorex snapshot.
As for missing child element in runtime, usually, this is a common issue for windows comboboxes or context menus, which often opens in a separate window, completely disconnected from the main app UI. This is a windows "feature" (issue) and there is nothing Ranorex can do about. Unfortunately, it's hard to tell what's wrong in your case, without seeing, at very least, a Ranorex snapshot. Could you please create and post a Ranorex snaphsot during runtime, as requested in my previous post?
Additionally, please make sure both standalone Spy and Studio use the same settings! Simply export the settings from Standalone Spy and import them to Studio Settings while the solution is open.
Well the first issue is, that controlids are not persistent. Therefore, you will have to eliminate them and use something else to identify the element in question, maybe even directly unrelated to the element in question (using xpath axes)? Unfortunately, it's impossible to suggest something reliable without, at very least, a Ranorex snapshot.
As for missing child element in runtime, usually, this is a common issue for windows comboboxes or context menus, which often opens in a separate window, completely disconnected from the main app UI. This is a windows "feature" (issue) and there is nothing Ranorex can do about. Unfortunately, it's hard to tell what's wrong in your case, without seeing, at very least, a Ranorex snapshot. Could you please create and post a Ranorex snaphsot during runtime, as requested in my previous post?
Additionally, please make sure both standalone Spy and Studio use the same settings! Simply export the settings from Standalone Spy and import them to Studio Settings while the solution is open.
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: 8
- Joined: Wed Jul 21, 2021 10:00 am
Re: Repository items visibility during runtime
Good day.
Here are the snapshots.
Here are the snapshots.
You do not have the required permissions to view the files attached to this post.
Re: Repository items visibility during runtime
Hi,
Thanks for the snapshots. It really seems to me like the Settings are different for Standalone spy and Studio settings/settings stored in your solution. Have you tried what I suggested (export settings from standalone Spy and import them to Studio).
Thanks for the snapshots. It really seems to me like the Settings are different for Standalone spy and Studio settings/settings stored in your solution. Have you tried what I suggested (export settings from standalone Spy and import them to Studio).
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: 8
- Joined: Wed Jul 21, 2021 10:00 am
Re: Repository items visibility during runtime
Good day.
Yes, I did export-import for settings, but the problem is the same.
And in runtime we also have another problem.
Texts for dialog boxes of our application is in one .ini file.
When ranorex is in runtime, before every dialog box, our app tell us that it can not find that .ini file. And when we confirm it, our regular dialog shows text. So that file is not visible in one brief moment before it is needed for dialog boxes.
Do you have any theory regarding this?
Yes, I did export-import for settings, but the problem is the same.
And in runtime we also have another problem.
Texts for dialog boxes of our application is in one .ini file.
When ranorex is in runtime, before every dialog box, our app tell us that it can not find that .ini file. And when we confirm it, our regular dialog shows text. So that file is not visible in one brief moment before it is needed for dialog boxes.
Do you have any theory regarding this?
-
- Posts: 8
- Joined: Wed Jul 21, 2021 10:00 am
Re: Repository items visibility during runtime
And one comment regarding settings.
When I change some setting in ranorex application, and go to ranorex spy, the settings are also changed there.
When I change some setting in ranorex application, and go to ranorex spy, the settings are also changed there.