Need help for using swtbot for automating an exe flow [message #24625] |
Thu, 26 February 2009 16:36  |
Eclipse User |
|
|
|
Hi folks,
I am trying to use SWTBot to automate our products installer. The
installer is built on eclipse/swt (The name of the installer is IBM
Installation Manager), so I would think SWTBot supports it. However, I am
not sure how to set up and run the application so it can be automated.
The SWTBot docs say to launch the Main() method in it's own thread, but we
have no access to the source code.. I only have the .exe. Am I supposed
to launch it using Java Runtime/Java Process? Any advice would be very
helpful.
Thanks,
Bhooshan
|
|
|
Re: Need help for using swtbot for automating an exe flow [message #24782 is a reply to message #24625] |
Fri, 27 February 2009 03:30  |
Eclipse User |
|
|
|
Originally posted by: vacrodrigues+eclipse.gmail.com
Bhooshan Mogal wrote:
> Hi folks,
> I am trying to use SWTBot to automate our products installer. The
> installer is built on eclipse/swt (The name of the installer is IBM
> Installation Manager), so I would think SWTBot supports it. However, I
> am not sure how to set up and run the application so it can be
> automated. The SWTBot docs say to launch the Main() method in it's own
> thread, but we have no access to the source code.. I only have the
> .exe. Am I supposed to launch it using Java Runtime/Java Process? Any
> advice would be very helpful.
> Thanks,
> Bhooshan
>
Bhooshan,
since Installation Manager is an eclipse project, you can simply use it
as your target platform and then develop/run SWTBot testcases against it.
You also need to add SWTBot support and dependencies to the target
platform if they are not in your workspace.
Cheers,
Vitor
|
|
|
Powered by
FUDForum. Page generated in 0.03174 seconds