|
Re: Parameterization and config file handling capabilities in SWT Bot [message #634785 is a reply to message #633958] |
Sat, 23 October 2010 11:10  |
Eclipse User |
|
|
|
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 :)
|
|
|
Powered by
FUDForum. Page generated in 0.03144 seconds