Re: [Wtr-general] problem in click event of "div"

2006-07-21 Thread Paul Carvalho
Hi Vikash,Maybe your code is working.  Maybe it just doesn't do what you think it should do.Are you trying to access the checkbox?  If so, why not just try something more direct like:   ie.checkbox(:id, /3_1/).flash    ie.checkbox(:id, /3_1/).setOn 22/07/06, VIKASH KUMAR <[EMAIL PROTECTED]> wrote:

[Wtr-general] problem in click event of "div"

2006-07-21 Thread VIKASH KUMAR
Sir,     How to focus on "div" element & click on that element. I am using HTML having source:            name="assignedSystemGroups" value="viewStatsBilling" >  View Billing Statistics                   name="assignedSystemGroups" value="baseWebAccess" >  Login to Web

[Wtr-general] Proxy server login

2006-07-21 Thread Simo, Ben
Title: Proxy server login I am trying to use WATIR through a proxy server.  The browser is configured to automatically detect proxy settings and to use a configuration script. When manually browsing in IE, the browser displays a proxy login dialog when I attempt to access a site that is

Re: [Wtr-general] Setting a timeout on ie.goto()?

2006-07-21 Thread John Krystynak
I have a similar problem - that program that does a ie.link().click that brings up a File Save Dialog never resumes. I've tried threads, and system calls to run the Autoit stuff, but the only way I can automatically fill in the File Save Dialog is to run a separate autoit ruby program from the com

Re: [Wtr-general] Setting a timeout on ie.goto()?

2006-07-21 Thread John Fitisoff
<> Yup. I'm working on multithreaded tests and that seems to happen (not a lot, but then it doesn't have to happen a lot to mess things up). You can use Ruby's timeout library to set a timeout value for an action or series of actions and then rescue the timeout exception when it occurs. something

Re: [Wtr-general] Setting a timeout on ie.goto()?

2006-07-21 Thread Charley Baker
Hey Steve,    Honestly that sounds like a defect. That being said, there is no simple way that I currently know of to get around waiting for ie to return a ready state. -Charley On 7/21/06, Steve Tangsombatvisit <[EMAIL PROTECTED] > wrote: Hi folks,   Relatively new to using Ruby/Watir... 

Re: [Wtr-general] how to disable image loading

2006-07-21 Thread Charley Baker
You could use AutoIt to disable image loading in ie. Take a look at WindowHelper.rb(part of the watir distribution and uses AutoIt) as well as the AutoIt site at: http://www.hiddensoft.com/AutoIt/ -CharleyOn 7/21/06, Xavier Noria <[EMAIL PROTECTED]> wrote: Is there a way to disable image loading pr

[Wtr-general] how to disable image loading

2006-07-21 Thread Xavier Noria
Is there a way to disable image loading programmatically? -- fxn ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Testing of the Java Client (which opens in browser) Application

2006-07-21 Thread Charley Baker
I'm assuming you are talking about a java applet. Java applets, Flash controls and the like are not supported by the current version of Watir. Since Watir uses IE through com, embedded objects are visible but there's no interface into their internals. -CharleyOn 7/21/06, Chintakrindi Meghanath <[E

[Wtr-general] Setting a timeout on ie.goto()?

2006-07-21 Thread Steve Tangsombatvisit
Hi folks,   Relatively new to using Ruby/Watir...  I have a quick question about the ie.goto statement, is there a way to set a timeout for this call so that if the webpage does not complete loading with X amount of seconds the call terminates?   The problem we're running into is that some o

[Wtr-general] Testing of the Java Client (which opens in browser) Application

2006-07-21 Thread Chintakrindi Meghanath
Hi   We have an application , which opens a browser  and then a java client. The application is in java client  only.User has to navigate in the Java Client. If the usr closes the browser , then java client is also closed.  Can we able to test this type of application using the watir ?  

[Wtr-general] Lists question

2006-07-21 Thread Attebery, Bill
Title: Lists question On 7/11/06, Bret Pettichord wrote:     This bothers me a lot. I need to add some diagnostics to IE.attach in 1.5 trunk and then have you try it again and send the diagnostics report. Don't let me    forget about this.     Bret Bret I made some time to do

Re: [Wtr-general] SafariWatir 0.1.0

2006-07-21 Thread Xavier Noria
On Jul 21, 2006, at 17:37, Dave Hoover wrote: > Announcment: http://redsquirrel.com/cgi-bin/dave/projects/watir/ > safari.watir.0.1.0.html > > Installation: gem install safariwatir > > Home Page: http://safariwatir.rubyforge.org/ > > Enjoy! > --Dave Dude, that rocks! I am tired of Remote Deskto

[Wtr-general] SafariWatir 0.1.0

2006-07-21 Thread Dave Hoover
Announcment: http://redsquirrel.com/cgi-bin/dave/projects/watir/safari.watir.0.1.0.html Installation: gem install safariwatir Home Page: http://safariwatir.rubyforge.org/ Enjoy! --Dave ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rub

Re: [Wtr-general] Newbie - please point me at an appropriate demo

2006-07-21 Thread Pauli's List Subscriptions
Jason, Thanks much - that looks to be helpful. I'm more interested in how to iterate the WATIR test though. So far I haven't seen how to - in language that come from my programming background, but may not be exactly Ruby/WATIR appropriate - wrap a test inside a function that I can call with pa

Re: [Wtr-general] Newbie - please point me at an appropriate demo

2006-07-21 Thread jason_horn
Just found this searching "ruby mysql" in Google...  Looks like it is pretty easy to read...  Good Luck!   http://www.rubywizard.net/ruby-mysql.html- Original Message -From: Pauli's List Subscriptions <[EMAIL PROTECTED]>Date: Friday, July 21, 2006 10:52Subject: [Wtr-general] Newbie - please

Re: [Wtr-general] Getting WIN32OLERuntimeError: focus - Error

2006-07-21 Thread jason_horn
Most likely happening from the text_field command...    If the control is disabled, you will not be able to modify the value for it.  This happens all the time in DHTML.  Does that text box only become available if more than one page exists?  Might want to look into that, maybe set up a condition

[Wtr-general] Newbie - please point me at an appropriate demo

2006-07-21 Thread Pauli's List Subscriptions
Hello, I've just downloaded Ruby and Watir. I've looked at WET's webpage. I have a table of parameters, which I'd like to use sequentially as input to the same test, logging the results as testing proceeds. WET can support this requirement, on the input side, from spreadsheets with it's 'dat

Re: [Wtr-general] problem in click event of "div"

2006-07-21 Thread Christian Leskowsky
Not sure what clicking on the div will do here. Does it translate into a click on the inner checkbox?On 7/21/06, Zeljko Filipin < [EMAIL PROTECTED]> wrote:It seems like a spelling error to me, because this works for me (change first "id" to "ie"): ie.div(:id,"tCt2").clickOn 7/21/06, VIKASH KUMAR <

Re: [Wtr-general] problem in click event of "div"

2006-07-21 Thread Zeljko Filipin
It seems like a spelling error to me, because this works for me (change first "id" to "ie"):ie.div(:id,"tCt2").clickOn 7/21/06, VIKASH KUMAR <[EMAIL PROTECTED]> wrote: I wanted to click on div having id="tCt2", the below code is not working: id.div(:id,"tCt2").click _

[Wtr-general] problem in click event of "div"

2006-07-21 Thread VIKASH KUMAR
Sir,   How to focus on "div" element & click on that element. I am using HTML having source:  View Billing Statistics  Login to Web Application   I wanted to click on div having id="tCt2", the below code is not working: id.d

[Wtr-general] Getting WIN32OLERuntimeError: focus - Error

2006-07-21 Thread sikander
Hi!   I was using the following code to execute my scripts but uncounted WIN32OLERuntimeError: focus - Error   Code: $ie.frame("Main").text_field(:id, "tbJobs__ctl0_txtTbPrnPageNumber").set("2") $ie.frame("Main").button(:id, "tbJobs__ctl0_btnTbPrnGo").click   Error is: WIN32OLERunt