[wtr-general] Not able to run .rb script from cmd

2009-08-31 Thread Bindhu
Hi All, I m very much new to Watir. In command prompt had provided 2 arguments like : C:\test.rb test_data.ods I am getting below exception when I run the above command. c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- Results

[wtr-general] Re: Not able to run .rb script from cmd

2009-08-31 Thread Željko Filipin
On Mon, Aug 31, 2009 at 1:25 PM, Bindhu udayarekha2...@gmail.com wrote: In command prompt had provided 2 arguments like : C:\test.rb test_data.ods Why do you call your Ruby file with quotes? Or please ask me if I did not provide information to provide the solution Please post the code of

[wtr-general] Re: Not able to run .rb script from cmd

2009-08-31 Thread Bindhu
Hi Zeliko, I am using a framework which has been given by one of our coulegue. As a part of that we had 'Actions.rb', 'import.rb' and 'test.rb'. We had prepared 'test_data.ods' file with the test data. And he asked me pass the test.rb and test_data.ods as 2 aruments in command prompt. Below is

[wtr-general] Handling Authentication Windows on FireFox

2009-08-31 Thread dvkbabu
Hi All I am new to watir and I am trying to automate my website using ruby 1.8.6 and watir 1.6. I need help in handling Authentication windows on firefox browser. Scenario 1: -- My website home page consists of number of partner links (say partner1, partner2 etc... ) when I click on

[wtr-general] Re: WATIR WITH QC INTEGRATION

2009-08-31 Thread kumar
Hi All, Thanks a lot for your replies. Actually i'm able to run ruby/watir script from QC if i'm giving the local path Like, XTools.run C:/ruby/bin/ruby.exe,C:\kiran\example.rb, -1 But if i want to run the ruby script which is stored in Test plan then it's throwing error Like,XTools.run

[wtr-general] Get computed style with Firewatir/watir

2009-08-31 Thread gummybears
Hi, I needed to test the computed styles in Firefox. As Firewatir currently does not support constructs like @browser.div(:id,div).style.align I looked into js_eval to do the trick To that end I wrote a small helper method def getstyle(element,style) str = window.getComputedStyle(

[wtr-general] automatic form filling

2009-08-31 Thread manar alalfi
Hello, I need to write a test case which will automatically populate page inputs( text fields, hidden fields,check boxes,..) without me giving it the ids, or the name of the fields. I just want to make sure that every input has been populated ( random values). This may need at first to collect

[wtr-general] Re: customize xml generated by ci_reports

2009-08-31 Thread Marlon
Hi, how can I rename the filename of the xml created by ci_reporter? I need a repository and store the test results generated. ex. TEST- Class NameDate/Time.xml. Which part of the ci_reporter does the filenaming/file creation? Please help Thanks!

[wtr-general] How to perform a right click

2009-08-31 Thread Eason
Hi all, who could let me know how to use code to do right click? I can not find such a method in the rdoc. Please help, thank you! Eason 2009-09-01 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir

[wtr-general] Re: How to perform a right click

2009-08-31 Thread Raveendran P
Hi, Try this -- http://raveendran.wordpress.com/2009/07/24/mouse-clicks-in-watirruby/ 2009/9/1 Eason nbkhic...@gmail.com Hi all, who could let me know how to use code to do right click? I can not find such a method in the rdoc. Please help, thank you!

[wtr-general] Re: How to perform a right click

2009-08-31 Thread Bill Agee
Or you can find the same info on the wiki, which is (I suspect) where the blog post in the previous mail came from. :) http://wiki.openqa.org/display/WTR/Right+Click+an+Element On Mon, Aug 31, 2009 at 10:43 PM, Raveendran P jazzezr...@gmail.com wrote: Hi, Try this --

[wtr-general] Re: How to perform a right click

2009-08-31 Thread Eason
Dear Raveendran, I can not open the page... Eason 2009-09-01 发件人: Raveendran P 发送时间: 2009-09-01 13:44:03 收件人: watir-general@googlegroups.com 抄送: 主题: [wtr-general] Re: How to perform a right click Hi, Try this -- http://raveendran.wordpress.com/2009/07/24/mouse-clicks-in-watirruby/

[wtr-general] Re: How to perform a right click

2009-08-31 Thread Raveendran P
Hi Bill, Exactly, the source from wiki only with little modification of example. :) Thanks On Tue, Sep 1, 2009 at 11:18 AM, Bill Agee billa...@gmail.com wrote: Or you can find the same info on the wiki, which is (I suspect) where the blog post in the previous mail came from. :)