Re: [wtr-general] Handling a new tab

2012-08-09 Thread mani racha
et_locator.rb:37:in `window' from C:/Ruby187/lib/ruby/gems/1.8/gems/watir-webdriver-0.6.1/lib/watir-w ebdriver/window.rb:99:in `use' from test.rb:6 I don't really understand what the code says. Will you be much more precise ? TA. On Thursday, 9 August 2012 15:16:12 UT

[wtr-general] Handling a new tab

2012-08-09 Thread mani racha
Hi all, I am using Watir with firefox browser. In my project I need to handle multiple tabs in a single window. For that I have tried 2 types of code. One is, require "rubygems" require "watir-webdriver" require "win32ole" browser = Watir::Browser.new :ff browser.goto "www.google.com" ff = WIN32O

[wtr-general] Need help

2012-08-07 Thread mani racha
Hi, I am using Watir-webdriver with firefox. I have 2 problems . 1)Whenever I am trying to automate the process of placing mouse on a link by the following code. browser.link(:class,"tooltip").hover it is giving error as [remote server] file:///C:/Users/MANIKA~1/AppData/Local/Temp/webdriver-pr

[wtr-general] Re: Handling a windows file upload dialog box

2012-08-06 Thread mani racha
> > same error > > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com

Re: [wtr-general] Re: Handling a windows file upload dialog box

2012-08-04 Thread mani racha
Hi, I have wrote sFileName= "C:\\Users\\manikanth\\Desktop\\hi.docx" browser.file_field(:name,'userfile').set(sFileName) and it says, C:/Ruby187/lib/ruby/gems/1.8/gems/watir-webdriver-0.6.1/lib/watir-webdriver/elem ents/file_field.rb:13:in `set': No such file or directory - C:UsersmanikanthDesk t

Re: [wtr-general] Re: Handling a windows file upload dialog box

2012-08-04 Thread mani racha
What is the problem with "set" method ? On Saturday, 4 August 2012 11:43:53 UTC+5:30, mani racha wrote: > > Hi Dan, > Thank you for your lines of code. > Unfortunately neither of them worked. > > >>> -- Before posting, please read http://watir.com/supp

Re: [wtr-general] Re: Handling a windows file upload dialog box

2012-08-03 Thread mani racha
Hi Dan, Thank you for your lines of code. Unfortunately neither of them worked. >> -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googl

Re: [wtr-general] Re: Handling a windows file upload dialog box

2012-08-03 Thread mani racha
bject. > > You will find the form syntax something like: . > Get it? "type=file" > > Basic HTML is nice to know w3Schools offers easy to learn tutorials. > > > > > > On Friday, August 3, 2012 1:44:29 AM UTC-5, mani racha wrote: > >> Hi Eric,

Re: [wtr-general] ruby cmd prmpt warning message

2012-08-03 Thread mani racha
Yes Željko . On Fri, Aug 3, 2012 at 6:15 PM, Željko Filipin wrote: > On Fri, Aug 3, 2012 at 2:41 PM, mani racha wrote: > > The system cannot find the path specified. > > Where did you install devkit? c:/devkit? > > Željko > -- > filipin.eu > > -- &

Re: [wtr-general] ruby cmd prmpt warning message

2012-08-03 Thread mani racha
Hi Željko, I've followed the steps provided at github. I've downloaded DEVkit and installed. But whenever I am trying to execute gem install rdiscount --platform=ruby It says Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... The system cann

Re: [wtr-general] ruby cmd prmpt warning message

2012-08-03 Thread mani racha
I will try out.. On Fri, Aug 3, 2012 at 5:23 PM, Željko Filipin wrote: > Well, the error message says it all. Do you understand the error message? > > Željko > > On Fri, Aug 3, 2012 at 1:51 PM, mani racha wrote: > >> Hi Željko, >> Thanks for your quick reply.. &

Re: [wtr-general] ruby cmd prmpt warning message

2012-08-03 Thread mani racha
Hi Željko, Thanks for your quick reply.. I have tried the command you 've suggested. but the following error is coming. Fetching: json-1.7.4.gem (100%) The system cannot find the path specified. ERROR: Error installing json: The 'json' native gem requires installed build tools. Please up

[wtr-general] Re: Loading error in Watir!

2012-08-03 Thread mani racha
Hi, require "rubygems" should be included there at first line of the code. Try it. > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@go

[wtr-general] ruby cmd prmpt warning message

2012-08-03 Thread mani racha
Hi, I am using ruby 1.8.7-p370 and upgraded gems with Mozilla firefox 14.0.1. whenever I am executing a .rb file from command prompt , a warning message below is appearing. [WARNING] MultiJson is using the default adapter (ok_json). We recommend loading a different JSON library to improve perfor

[wtr-general] Re: Handling a windows file upload dialog box

2012-08-02 Thread mani racha
> > Hi Eric, > 've tried with your suggestion. oops..Its also of no use. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.co

[wtr-general] Re: Handling a windows file upload dialog box

2012-08-02 Thread mani racha
> > Hi Dan, > Thanks for your quick reply. I have tried with your suggestion. But it says `set': No such file or directory - hi.txt Although the file is present. Is there any other ways to crack this?? -- Before posting, please read http://watir.com/support. In short: search before

[wtr-general] Re: Handling a windows file upload dialog box

2012-08-02 Thread mani racha
Hi all, I'm trying to upload a file in a webpage with watir. After so much of work,I've founded the link http://wiki.openqa.org/display/WTR/File+Uploads . but it didn't work for me. ie.button(:name, "file_upload_button").click_no_wait ie.send_keys("c:\test.txt") ie.send_keys("{ENTER}") $ie.fil

Re: [wtr-general] watir

2012-07-26 Thread mani racha
Thanks Zeljko..its working On Wednesday, 11 July 2012 18:47:48 UTC+5:30, Željko Filipin wrote: > > On Wed, Jul 11, 2012 at 3:09 PM, mani racha wrote: > > browser.select_list(:id,"...").set(" ") > > browser.select_list(:id,' ').se

[wtr-general] watir

2012-07-11 Thread mani racha
Hi all, I am new to watir...I am getting problem while accessing the item in the select list in my application. I have tried the command browser.select_list(:id,"...").set(" ") browser.select_list(:id,' ').select_item_in_select_list(:index,2) but tired to get it.. Please help me...Thank you i