How to access a certain window
Posted: Fri Sep 21, 2018 2:19 pm
Hello ,
I have a problem regarding a dialog opening in our application. Its a dialog which opens when you click a certain link in the application.
When executing the testcase the application is not able to access the windows. It suggests it may not be whitelisted by ranorex. But because its just a dialog opened from the whitelistet main application i doubt thats really the problem.
When i check the xpath in "maintenance mode" oder in "spy" its correct. It should work. But it doesn´t. Anyone some suggestions what to check ?
I found these messages in the console when i open the dialog. So i suppose ranorex has found the dialog
RanorexAutomation: registering new Window hwnd: 723586 comp: class com.ipointsys.imds.client.gui.management.ManagementFrame
RanorexAutomation: registering new Window hwnd: 3213892 comp: class javax.swing.JDialog
RanorexAutomation: registering new Window hwnd: 3279428 comp: class com.ipointsys.imds.client.gui.management.ManagementFrame
RanorexAutomation: registering new Window hwnd: 922132 comp: class javax.swing.JDialog
RanorexAutomation: registering new Window hwnd: 987668 comp: class com.ipointsys.imds.client.gui.management.ManagementFrame
RanorexAutomation: registering new Window hwnd: 5378820 comp: class javax.swing.JDialog
Regards Florian
I have a problem regarding a dialog opening in our application. Its a dialog which opens when you click a certain link in the application.
When executing the testcase the application is not able to access the windows. It suggests it may not be whitelisted by ranorex. But because its just a dialog opened from the whitelistet main application i doubt thats really the problem.
When i check the xpath in "maintenance mode" oder in "spy" its correct. It should work. But it doesn´t. Anyone some suggestions what to check ?
I found these messages in the console when i open the dialog. So i suppose ranorex has found the dialog
RanorexAutomation: registering new Window hwnd: 723586 comp: class com.ipointsys.imds.client.gui.management.ManagementFrame
RanorexAutomation: registering new Window hwnd: 3213892 comp: class javax.swing.JDialog
RanorexAutomation: registering new Window hwnd: 3279428 comp: class com.ipointsys.imds.client.gui.management.ManagementFrame
RanorexAutomation: registering new Window hwnd: 922132 comp: class javax.swing.JDialog
RanorexAutomation: registering new Window hwnd: 987668 comp: class com.ipointsys.imds.client.gui.management.ManagementFrame
RanorexAutomation: registering new Window hwnd: 5378820 comp: class javax.swing.JDialog
Regards Florian