It takes huge time for identification of control when click on highlight option in ranorex spy. The control tree structure is OK. But too long. Are there any settings in ranorex which can improve object identification time.?(currently it takes approx 2-10 min for highlighting the control.Pls suggest list of settings in ranorex.Below are ranorex and SUT details which I am using.
SUT - Medical imaging application developed on visual studio 2008, C# (64bit app)
Ranorex: 6.0.1
OS : windows 7 professional 64 bit
Settings in ranorex to improve object identification
-
- Posts: 27
- Joined: Wed Jul 06, 2016 1:15 pm
-
- Posts: 27
- Joined: Wed Jul 06, 2016 1:15 pm
Re: Settings in ranorex to improve object identification
Sorry there is a typo. Tree structure is not too long. It's OK.
Re: Settings in ranorex to improve object identification
Post a snapshot of the element in question and the RanoreXPath you are using if you want any real help, otherwise we are just guessing.
Having said that, my guess is that you are using a path that is not specific enough. If your path is not specific enough (has too many wildcards ("?") or null sections ("//")) then Ranorex will have to search EACH AND EVERY element that MIGHT match the path until if finds the FIRST one that matches exactly.
If you want to change the default behavior of path generation there is a setting in Ranorex that determines how the path is filled out. Go to Global Settings > Advanced tab. Change the "RanoreXPath generation mode:" setting to "Simple" (I use "Reduce"). This will give you a very long path, but it will be very specific. It won't have wildcards ("?") or null sections ("//") and will be much faster.
Doing this will make your paths less manageable, but you can create rooted folders in your repo to better manage the paths.
Having said that, my guess is that you are using a path that is not specific enough. If your path is not specific enough (has too many wildcards ("?") or null sections ("//")) then Ranorex will have to search EACH AND EVERY element that MIGHT match the path until if finds the FIRST one that matches exactly.
If you want to change the default behavior of path generation there is a setting in Ranorex that determines how the path is filled out. Go to Global Settings > Advanced tab. Change the "RanoreXPath generation mode:" setting to "Simple" (I use "Reduce"). This will give you a very long path, but it will be very specific. It won't have wildcards ("?") or null sections ("//") and will be much faster.
Doing this will make your paths less manageable, but you can create rooted folders in your repo to better manage the paths.
Shortcuts usually aren't...
-
- Posts: 27
- Joined: Wed Jul 06, 2016 1:15 pm
Re: Settings in ranorex to improve object identification
Thank you for your inputs. I can see an improvement now