rx-path changes wether I start the app or ranorex does
Posted: Wed Sep 02, 2020 8:08 am
Hi all,
I use Ranorex 9.3.2 at the moment, but this problem also occures with older versions.
I have to test a java-application. The problem is, that the rx-path changes wether I start the application or ranorex does. You can see the difference in the two ranorex-snapshots in the zip-file.
Testing ist very simple. If I start the app by clicking on the desktop icon ranorex path looks like this:
And this ist fine to me!
If Ranorex starts the app the same way (clicking on the desktop icon) the rx-pathes look like this:
And this ist NOT OK!
The settings for the solution are:
Why does the path change depending on who starts the app?
Regards
Oliver
I use Ranorex 9.3.2 at the moment, but this problem also occures with older versions.
I have to test a java-application. The problem is, that the rx-path changes wether I start the application or ranorex does. You can see the difference in the two ranorex-snapshots in the zip-file.
Testing ist very simple. If I start the app by clicking on the desktop icon ranorex path looks like this:
Code: Select all
/form[@title='Anmeldung']/container[@type='Composite']/container[@type='Composite']//text[@caption='Benutzerkennung:']
If Ranorex starts the app the same way (clicking on the desktop icon) the rx-pathes look like this:
Code: Select all
/form[@title='Anmeldung']/element/element[@class='SWT_Window0']/element[@instance='0']/element[@instance='0']/?/?/text[@caption='Benutzerkennung:']
The settings for the solution are:
- Enable filtering on the Fx scenegraph = True
- Refresh java window after injection = True
- Show SWT custom data properties = True
- Use Java SWT legacy automation mode = False
Why does the path change depending on who starts the app?
Regards
Oliver