Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Parameterization and config file handling capabilities in SWT Bot
Parameterization and config file handling capabilities in SWT Bot [message #633958] Wed, 20 October 2010 04:10 Go to next message
Nyna  is currently offline Nyna Friend
Messages: 10
Registered: October 2010
Junior Member
Hi,
Can anyone pls help me out with this topic??

Parameterization and config file handling capabilities in SWT Bot

Thanks in advance Smile
Re: Parameterization and config file handling capabilities in SWT Bot [message #634785 is a reply to message #633958] Sat, 23 October 2010 15:10 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Here's what we did with swtbot: Every computer has its own property
file<http://goo.gl/ArqG>. This property file has the format
'HOSTNAME/USERNAME/WHATEVER.properties'.

Whenever the tests run, a setup method or a test that needs the property
can detect the machine's hostname/username/whatever to figure out the
filename of the property file and load it from disk.

SWTBot has nice helpers to read from files<http://goo.gl/ju35> and JUnit
has some nice ways to parametrize your tests<http://goo.gl/j8cc>,
<http://goo.gl/Fue5>

--
Ketan
ketan.padegaonkar.name | eclipse.org/swtbot | @ketanpkr

On 10/19/10 9:10 PM, Nyna wrote:
> Hi,
> Can anyone pls help me out with this topic??
>
> Parameterization and config file handling capabilities in SWT Bot
>
> Thanks in advance :)
Previous Topic:SWT Bot with Windows 7
Next Topic:Configuring a file in SWT test scenario
Goto Forum:
  


Current Time: Wed Apr 24 23:13:22 GMT 2024

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

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

Back to the top