[wtr-general] Insertion of data into oracle database through watir script

2010-06-17 Thread naresh
Hi All, I want to automate data insertion through watir script. I want to take data from text field and create insert query. If anyone have done already, please guide me. I tried to set value though set method textField, but when i tried to retrieve, i got exception read only in set. Thanks,

[wtr-general] Re: Element #visible?

2010-06-17 Thread Jarmo Pertman
On Jun 17, 12:34 am, Charley Baker charley.ba...@gmail.com wrote: Otherwise, I'll do this in the next day or two, as I'm starting to weed through pull requests and issues. Cool! There are also some pull requests from me :) Side question for anyone who uses visible? is this going to cause

[wtr-general] ie browser doesn't close and file download popup needs focus ?

2010-06-17 Thread kranthi
Hii all , I am trying to to click on a link after it is active which again produces a popup ( file download) after clicking. Here i have 2 problems 1) I start the code and leave it .what the code does is -after long process -it waits for the link to be active .Once the link is active it clicks

[wtr-general] Re: Insertion of data into oracle database through watir script

2010-06-17 Thread joedio
Naresh, Suggest you look into installing a Ruby/Oracle gem: http://rubygems.org/search?query=oracle Or one of the general Ruby/Database gems: http://rubygems.org/search?query=database Others may have suggestions on any that they've preferred. Joe On Jun 17, 12:07 am, naresh

Re: [wtr-general] Re: Celerity Question - java.net.ConnectException

2010-06-17 Thread Željko Filipin
On Thu, Jun 17, 2010 at 12:38 AM, Alister Scott alister.sc...@gmail.com wrote: I found a topic on using celerity behind a firewall which fixed my problem. I have installed rvm, jruby and celerity trying to reproduce your problem, but everything worked for me. :) Željko -- Before posting,

Re: [wtr-general] How to read a google doc or send a google mail?

2010-06-17 Thread Željko Filipin
On Thu, Jun 17, 2010 at 3:20 AM, Wesley Chen cjq@gmail.com wrote: I think google mail and google doc are really welcome, if I can access them in Watir, that would be great. You could probably automate Gmail and Docs, but the last time I have played with Gmail, it was not trivial. Also, it

[wtr-general] Re: How to handle a pop up (google chrome)

2010-06-17 Thread Super Kevy
You may consider using a thread. Basically in the sample the thread is started. The button is clicked, the popup occurs... the thread def is completed and killed... See thread:

[wtr-general] Watir site at stackexchange.com

2010-06-17 Thread Željko Filipin
Hi, Recently I have asked if people are interested in creating Watir site at stackexchange.com [1]. I was pleasantly surprised by the number of people that are interested [2]. Just today I have read that new stackexchange.comcan be created [3], so I have created Watir site [4]. I think

[wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2010-06-17 Thread Željko Filipin
IE browser doesn’t close and file download popup needs focus http://stackoverflow.com/questions/3058617 Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to

[wtr-general] Re: Watir ads at stackoverflow.com

2010-06-17 Thread Željko Filipin
On Mon, Jun 14, 2010 at 12:37 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: http://meta.stackoverflow.com/questions/53346/open-source-advertising-sidebar-2h-2010/53544#53544 Watir ad at stackoverflow.com still has 0 votes. We need 6. Feel free to comment at stackoverflow.com or here

[wtr-general] Re: ie browser doesn't close and file download popup needs focus ?

2010-06-17 Thread kranthi
The post on stackoverflow is also mine !! On Jun 16, 7:37 pm, kranthi j.kran...@gmail.com wrote: Hii all , I am trying to to click on a link after it is active which again produces a popup ( file download) after clicking. Here i have 2 problems 1) I start the code and leave it .what the

Re: [wtr-general] Re: ie browser doesn't close and file download popup needs focus ?

2010-06-17 Thread Željko Filipin
On Thu, Jun 17, 2010 at 6:20 PM, kranthi j.kran...@gmail.com wrote: The post on stackoverflow is also mine !! Sorry, I did not notice they were the same. :) Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message

Re: [wtr-general] question for ff browser

2010-06-17 Thread Eric Mathiesen
Have you tried the attach command for the first windows url? Browser.attach(:url, http://yourfirsturl;) On Jun 17, 2010 2:10 PM, Cristina cristina.toro...@gmail.com wrote: I have the following scenario and I am not sure if that can be automated. 1. On a page a have a bunch of links and I have

[wtr-general] How to get back to base browser

2010-06-17 Thread chandra
I am testing a website in Firefox on Windows 7. I am a fresher in watir. I have problem in testing this scenario: 1.On click of a Image button in first browser(b1), another instance of browser(b2) opens up. 2.Need to select a link in b2. 3.On selection of link in b2, b2 closes by itself and

Re: [wtr-general] How to get back to base browser

2010-06-17 Thread Bill Agee
I had this problem too, when I wanted to attach to a Firefox window, then click a Close button in the attached window. I did a little investigation and put together the following monkey patch, which seemed to work for me: http://gist.github.com/442827 You can try it out by pasting it into your

Re: [wtr-general] How to get back to base browser

2010-06-17 Thread Bill Agee
Actually, on second thought, the patch I posted will probably not help you. The patch is for a different issue seen in some scenarios when the FireWatir::Firefox close method is used in 1.6.5. Sorry about that. I was curious about this line of code in your email: @b2 =

Re: [wtr-general] How to get back to base browser

2010-06-17 Thread Chandrakala Shivappa
Thanks for the reply. yep, that patch did not work for me. Of-course I have used caption of the browser for title, I just avoided showing it here. Here again mentioning my script: 1 @b.image(:class, 'image1 ').click 2 @b2 = Watir::Browser.attach(:title, 'browser2') 3 sleep 3 4

Re: [wtr-general] How to read a google doc or send a google mail?

2010-06-17 Thread Felipe Knorr Kuhn
There's also ROO if you want to access Google Docs Spreadsheets http://github.com/hmcgowan/roo Might be nice to have data driven tests (somewhat) in the cloud. FK On Wed, Jun 16, 2010 at 10:20 PM, Wesley Chen cjq@gmail.com wrote: I just want to have a try on the gmail and goog doc. In

[wtr-general] Re: Insertion of data into oracle database through watir script

2010-06-17 Thread Chuck van der Linden
On Jun 16, 11:07 pm, naresh nareshvatsa...@gmail.com wrote: Hi All, I want to automate data insertion through watir script. I want to take data from  text field and create insert query. If anyone have done already, please guide me. I tried to set value though set method textField, but when

[wtr-general] Re: How to read a google doc or send a google mail?

2010-06-17 Thread Chuck van der Linden
OTOH, if you want to try automating it as an exercise, then have at it, and post specific bits of code if you are having problems. Since almost any of us can get to g-mail it's not a bad place to use for this kind of experimentation. If you want one of us to do the work for you and hand you a