Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Need help for using swtbot for automating an exe flow
Need help for using swtbot for automating an exe flow [message #24625] Thu, 26 February 2009 21:36 Go to next message
Bhooshan Mogal is currently offline Bhooshan Mogal
Messages: 16
Registered: July 2009
Junior Member
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 08:30 Go to previous message
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
Previous Topic:some troubles with JUnit 4.5 dependency
Next Topic:Recent Junit 4.5 issues and some explanations
Goto Forum:
  


Current Time: Tue Oct 21 07:17:51 GMT 2014

Powered by FUDForum. Page generated in 0.02467 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software