Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Configuring a file in SWT test scenario(How to configure an input file in SWT test scenario?)
Configuring a file in SWT test scenario [message #631967] Mon, 11 October 2010 05:40 Go to next message
Ullas is currently offline UllasFriend
Messages: 10
Registered: September 2010
Location: Bangalore
Junior Member
Hello,

I want to read some input data ( for e.g login details of a particular system with user name) before my SWT test begins. SWT then picks these data and then proceed with the test. The data can not be 'hard coded' in the test script since the user should get the flexibility to change the input based on the system against the SWT runs. How can I configure the input data here? Currently I am reading a .txt file which holds the data in the project path and passing this to SWT. Is there any other way thru which this is possible? (any SWT bot specific?).

Thanks in advance.

Regards,
Ullas
Re: Configuring a file in SWT test scenario [message #634794 is a reply to message #631967] Sat, 23 October 2010 15:38 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
I've answered this question here:

http://www.eclipse.org/forums/index.php?t=msg&th=198775& amp;start=0&S=ad5429b2497833f8c0f131e3eb285e76

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

On 10/10/10 10:40 PM, Ullas wrote:
> Hello,
>
> I want to read some input data ( for e.g login details of a particular
> system with user name) before my SWT test begins. SWT then picks these
> data and then proceed with the test. The data can not be 'hard coded' in
> the test script since the user should get the flexibility to change the
> input based on the system against the SWT runs. How can I configure the
> input data here? Currently I am reading a .txt file which holds the data
> in the project path and passing this to SWT. Is there any other way thru
> which this is possible? (any SWT bot specific?).
>
> Thanks in advance.
>
> Regards,
> Ullas
>
Previous Topic: Parameterization and config file handling capabilities in SWT Bot
Next Topic:SWTBot and e4
Goto Forum:
  


Current Time: Wed Nov 26 06:59:35 GMT 2014

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

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