[rspec-users] issue with running of following code

2012-03-20 Thread Ankita
I am trying to run following file, it does nothing and even does not give any error message.. not sure what is the problem. require rubygems require 'watir-webdriver' require rspec describe ASP TEST Suite do before(:all) do client = Selenium::WebDriver::Remote::Http::Default.new

[rspec-users] Problem with before(:all) command

2012-03-20 Thread Ankita
Hi when I use to run following file, it does not do anything, no error and nothing. It is meant to open a browser and put some information but nothing happens. Any help would be really appreciated... require rubygems require 'watir-webdriver' require rspec describe TEST Suite do before(:all)

Re: [rspec-users] issue with running of following code

2012-03-20 Thread David Chelimsky
On Mon, Mar 19, 2012 at 11:53 PM, Ankita ankita.gu...@adslot.com wrote: I am trying to run following file, it does nothing and even does not give any error message.. not sure what is the problem. How are you running it? require rubygems require 'watir-webdriver' require rspec describe

Re: [rspec-users] issue with running of following code

2012-03-20 Thread Ankita
I am running by going into specific file folder on command prompt and writing ruby file_name.rb to run it... On Mar 20, 10:01 pm, David Chelimsky dchelim...@gmail.com wrote: On Mon, Mar 19, 2012 at 11:53 PM, Ankita ankita.gu...@adslot.com wrote: I am trying to run following file, it does

Re: [rspec-users] issue with running of following code

2012-03-20 Thread Ankita
It does work by running with rspec file_name_spec.rb. Thanks for that! There is another issue, I wrote my tests in watir and there is following command which use to run pretty well with Watir but now it gives error of undefined method 'confirm' $b.confirm(true) do

Re: [rspec-users] issue with running of following code

2012-03-20 Thread Ankita
the error I got when I run the script using rspec file_name_spec.rb when I used to run using ruby file_name_spec.rb it was fine On Mar 21, 11:58 am, Ankita ankita.gu...@adslot.com wrote: It does work  by running with  rspec file_name_spec.rb. Thanks for that! There is another issue, I