Re: [wtr-general] Watir webdriver connection timeout

2011-07-29 Thread Dan
Exactly what I was looking for Jari. Thanks! -- 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] Watir webdriver connection timeout

2011-07-29 Thread Dan
Exactly what I was looking for. Thanks! -- 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

[wtr-general] Re : Re: Re : Watir is slow with nested frames

2011-07-29 Thread JMI
>I'd ask why in the hell you've created such a website in the first >place? :P My AUT is not a website, it's a complex application that is deployed via an HTML server and can be accessed by thin clients. It is not my creation, it is my reality! The html pages I attached to this thread have been

Re: [wtr-general] Watir webdriver connection timeout

2011-07-29 Thread Dave McNulla
http://jarib.github.com/watir-webdriver/doc/Watir/Wait.html require "watir-webdriver/extensions/wait" sleep #{duration} until(timeout = 30, &block) Wait until the block evaluates to true or times out. Good luck, Dave - - -- Before posti

[wtr-general] Re: Re : Watir is slow with nested frames

2011-07-29 Thread Jarmo Pertman
I'd ask why in the hell you've created such a website in the first place? :P Can't say for sure though why it's slower than with VB. This would need some debugging to do. Jarmo On Jul 28, 5:53 pm, JMI wrote: > And I join the demo files to show the issue. Copy the html files to a > folder, open

Re: [wtr-general] How to know whether a javascript been fired or not?

2011-07-29 Thread Asif Iquebal Sarkar
No, that couldn't help. I just need to script it down to know whether it's been fired ot not. If fired then click on OK button, print the number used and try with a new number. pseudo code like this for i in(0..100) $ie.text_field(:id,"number_sos").set(i.to_s) if($ie.javascript_dialog

Re: [wtr-general] How to know whether a javascript been fired or not?

2011-07-29 Thread Željko Filipin
On Fri, Jul 29, 2011 at 1:55 PM, Asif Iquebal Sarkar wrote: > I need to know when the > pop up fired and against which number? Maybe this could help: http://stackoverflow.com/questions/3787555/how-to-find-out-which-javascript-events-fired Željko -- watir.com - community manager watir.com/book -

[wtr-general] How to know whether a javascript been fired or not?

2011-07-29 Thread Asif Iquebal Sarkar
The Application under test has a text field, which will accept numbers. In some cases a javascript will be fired against numbers which has been used already stating 'Please try a new number' [with an "OK" button on it, i.e., the pop up window]. I need to know when the pop up fired and against which

Re: [wtr-general] Watir webdriver connection timeout

2011-07-29 Thread Jari Bakken
See the section on Internal Timeouts here: http://code.google.com/p/selenium/wiki/RubyBindings#Timeouts Den 29. juli 2011 kl. 04:54 skrev Dan : Is there a configuration for how long Watir-webdriver waits for a response? I'm trying to upload a rather large file and the response takes at least ov

[wtr-general] Re: "unknown property or method 'document' " when navigating to short URLs

2011-07-29 Thread Dave McNulla
When you navigate to those two url's manually through the same browser on the same system, do you get the same html page? I've seen problems caused by missing qualified domain name in the DNS suffix list. Dave -- Before posting, please read http://watir.com/support. In short: search before yo