|Re: Cannot activate app with modal login [message #787955 is a reply to message #787570]
||Wed, 01 February 2012 02:03
| Alexandra Schladebeck
Registered: July 2009
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,
Powered by FUDForum
. Page generated in 0.02343 seconds