Hi,
Have tried the "suite.rb -- -b" on the command prompt to run all my scripts
on the background, but it is running in the front end.
The structure what we follow is that all the "test_ " files are located in
a folder called 'regression' & the suite.rb file is also in the same folder.
My Suite.rb file has the below code
Dir.glob(File.join(ENV['QA_HOME'].gsub("\\","/"),"/regression/**","test_*.rb")).each
{|test| require test}
so when i run the scripts using the "suite.rb -- -b" from the suite file
location, it runs all the scripts in the front end.
On Mon, Nov 30, 2009 at 4:32 AM, [email protected]
<[email protected]>wrote:
> You need to make it an "untouched argument". Thus:
>
> suite.rb -- -b
>
> On Nov 27, 4:54 am, pallavi shashidhar <[email protected]> wrote:
> > Hi,
> > Watir environment - Watir 1.6.5, Ruby 1.8.6.26.
> > I have 2 scripts.
> > 1) simple watir script without using Test::Unit framework
> > 2) and another using Test::Unit framework.
> >
> > Am trying to run them in background with command line option -b
> >
> > The simple script without Test::Unit runs successfully in the background
> > when -b commandline option is given.
> > But when the script with Test::Unit is run with -b option, i am getting
> the
> > foll error:
> > invalid option: -b
> > Test::Unit automatic runner.
> > Usage: suite.rb [options] [-- untouched arguments]
> >
> > Any inputs on how to run the Test::Unit in background mode?
> >
> > Regards,
> > Pallavi
>
> --
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To post to this group, send email to [email protected]
> Before posting, please read the following guidelines:
> http://wiki.openqa.org/display/WTR/Support
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/watir-general
>
--
REGARDS
SHIVANAND
--
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general