AUT Unable to Get Focus [message #1591651] |
Thu, 29 January 2015 17:11 |
|
I have a test suite that executes successfully running in Eclipse. It also runs successfully via command line using external test executor and AUTAgent instead of them being embedded in eclipse. However, when I schedule a Hudson job to execute the test suite on a slave machine my test will start and the first test case executes successfully (click OK button on first application window to accept), but then the AUT opens a new window which cannot get focus. The screenshot for the test failure shows my AUT window on top the the RHEL login screen. The text that should have been entered in the AUT text field is instead in the username field of the RHEL login screen.
I attempted workarounds listed in other posts, like creating an event handler to perform external button clicks like alt+shift+tab to cycle through the list of running applications in order to get focus, but these too failed. It seems that test execution is behaving differently when there is no active user session in the OS?
The error is an Action Error due to timeout received before confirming the posted event and the screenshots show the text being repeatedly appended into the RHEL username field.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03147 seconds