|
|
|
Re: Cannot activate app with modal login [message #787404 is a reply to message #787363] |
Tue, 31 January 2012 14:42 |
|
Hi,
the ub_app_activate_AUT module is supposed to check (and eventually fail) for focus. If you want just an "click and ignore the result" approach you can define an activation method in the expert section of the AUT configuration dialog. This activation is done at the start of a TestSuite but its success is not checked.
Achim
|
|
|
|
Re: Cannot activate app with modal login [message #787955 is a reply to message #787570] |
Wed, 01 February 2012 07:03 |
Alexandra Schladebeck Messages: 1613 Registered: July 2009 |
Senior Member |
|
|
Hi Terry,
I have a couple of pointers that may help you further -
In normal circumstances where there are multiple AUTs, the "click in active window" failure is exactly what you need to find out that the AUT you want to test next isn't there. You can react to this by switching between AUTs and then try again until you get the right one. This is described in this blog entry and there's a forum discussion about it here.
In your case, though, it could be that the correct application is there, but the login dialog is blocking us knowing that (I've seen applications where this method works, though, even if a login dialog was present).
If you are logging in with the same user for all AUT instances, then you could react to the failure of the click by logging in and retrying the click. If you're using different users, another suggestion would be to see if the AUTs can be started pre-logged in with the users you need - perhaps the AUT can take a command line argument to do this?
Hope this information helps a bit,
Alex
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04761 seconds