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

Reply via email to