|
|
|
|
Re: SWTBot cannot handle login dialog [message #641381 is a reply to message #640877] |
Thu, 25 November 2010 09:19 |
toni Messages: 8 Registered: October 2010 |
Junior Member |
|
|
Actually, I've learned that there is no way to pass a native dialog within SWTBot. I've checked all workaround solutions on the internet, but they seem require changing application source code (means you need change native dialogs into something SWT can understand) and, of course, it's impossible for my case.
Instead, I used Autoit (http://www.autoitscript.com/autoit3/index.shtml) to help SWTBot bypass this limitation. So, my automation testing is something like a relay race with SWTBot and Autoit. Whenever SWTBot gets stuck in a native dialog, Autoit will come and take place. When Autoit solves the dialog completely, it will give back to SWTBot to continue the test and so on.
Cheers,
Toni
[Updated on: Thu, 25 November 2010 09:35] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04370 seconds