Timeout for watir wait?

C

Chad Locke

I'm currently using Ruby 1.8.5, Rubygems 0.9.2, Watir 1.5.2

I'm doing a standard login on a page using the .click method on the
Login button. I'd like to throw an exception or failure message back if
it takes more than X amount of seconds to login. Is there any new
developments or a workaround to the wait with no timeout, built-in to
the click method?
 
C

Chad Locke

I noticed this morning that there is a JIRA ticket out for this
(WTR-192); however, there hasn't been an update on the ticket for
awhile.

I've looked through Watir release notes, but there's no indication that
this was released yet. Anyone have any additional information on this?
 
R

Rodrigo Bermejo

Chad said:
I noticed this morning that there is a JIRA ticket out for this
(WTR-192); however, there hasn't been an update on the ticket for
awhile.

I've looked through Watir release notes, but there's no indication that
this was released yet. Anyone have any additional information on this?

May it's something you can implement by yourself.
C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir\ie-class.rb

You can take this as reference:
http://wiki.openqa.org/display/WTR/Security+Alerts

-ronnie.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top