How does ranorex detect relative paths?
Posted: Wed Oct 07, 2015 2:42 pm
Hi,
I am fairly new to ranorex and am still experimenting with it. What I am trying to do is to create simple record, that just navigates through the main menu of our software. The menu structure looks like this:
To tell ranorex where to find a specific menu-item I can either give it the absolute path or some relative path. The following picture shows what ranorex did while recording and how I changed the paths in order to get the record straight:
1. MainWindow: thats the name of our basic frame. Below this item I put the absolute paths of the menus, that ranorex should look for and open.
2. C3Standalone: thats the executable's name of our software.
In the rooted folder "List" I entered the relative paths to the menu items.
In the rooted folder "Copy_of_list" are the original paths, that ranorex recorded.
My Record consists of four mouse actions, where each step opens another level of the menu:
Vorgaben > Auftrag > Verzollung > Packstückart
When I set in each step the repository item to the entries of "Copy_of_list" the test fails. If I just use the entries from "MainWindow" or "C3Standalone > List" the record suceeds.
I am asking myself, why ranorex does neither create the absolute paths nor the relative paths as I did. Is there some setting that I have to activate? Is it some sort of problem of how we build our GUI?
We want to test all our menu items, but changing all those paths from hand is impossible. So I want ranorex to either create proper absolute or relative paths.
Yours David
I am fairly new to ranorex and am still experimenting with it. What I am trying to do is to create simple record, that just navigates through the main menu of our software. The menu structure looks like this:
To tell ranorex where to find a specific menu-item I can either give it the absolute path or some relative path. The following picture shows what ranorex did while recording and how I changed the paths in order to get the record straight:
1. MainWindow: thats the name of our basic frame. Below this item I put the absolute paths of the menus, that ranorex should look for and open.
2. C3Standalone: thats the executable's name of our software.
In the rooted folder "List" I entered the relative paths to the menu items.
In the rooted folder "Copy_of_list" are the original paths, that ranorex recorded.
My Record consists of four mouse actions, where each step opens another level of the menu:
Vorgaben > Auftrag > Verzollung > Packstückart
When I set in each step the repository item to the entries of "Copy_of_list" the test fails. If I just use the entries from "MainWindow" or "C3Standalone > List" the record suceeds.
I am asking myself, why ranorex does neither create the absolute paths nor the relative paths as I did. Is there some setting that I have to activate? Is it some sort of problem of how we build our GUI?
We want to test all our menu items, but changing all those paths from hand is impossible. So I want ranorex to either create proper absolute or relative paths.
Yours David