[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 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
Dennis zach.den...@gmail.com wrote: On Tue, Mar 20, 2012 at 6:45 PM, Ankita ankita.gu...@adslot.com wrote: I am running by going into specific file folder on command prompt and writing ruby file_name.rb to run it... You'll see less headache if use the rspec command instead of ruby to run your

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

[rspec-users] How to handle Java script pop up when you click on a button to perform some action to DB

2012-03-21 Thread Ankita
Hi I have a button which when clicked opens a JS pop up for confirmation, confirming which, basically scrubs my DB and so takes a minute to complete its action. When I was using watir, I use to put in following code which use to work, but when switching to Rspec, it gives error so not sure what