Re: [Wtr-general] Managing the Watir Project -- Wikipedia entry

2006-09-27 Thread Paul Rogers
also, for the download example, it is also possible to do this


ie.goto('http://google.com')
puts ie.downloadtime# check the method name, it might be downLoadTime or 
down_load_time
ie.text_field(:index,1).set('pickaxe')
ie.button(:index,1).click
puts ie.downloadtime# check the method name, it might be downLoadTime or 
down_load_time

so you dont have to explicitly record the time yourself


- Original Message - 
From: Sun [EMAIL PROTECTED]
To: wtr-general@rubyforge.org
Sent: Tuesday, September 26, 2006 11:58 AM
Subject: Re: [Wtr-general] Managing the Watir Project -- Wikipedia entry


 Regarding documentation, please see: http://en.wikipedia.org/wiki/Watir

 I have updated this by creating an example information section, plus 
 updating the base note, and adding links to External Links and See Also.
 -
 Posted via Jive Forums
 http://forums.openqa.org/thread.jspa?threadID=4501messageID=12470#12470
 ___
 Wtr-general mailing list
 Wtr-general@rubyforge.org
 http://rubyforge.org/mailman/listinfo/wtr-general
 


___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] Managing the Watir Project -- Wikipedia entry

2006-09-26 Thread Sun
Regarding documentation, please see: http://en.wikipedia.org/wiki/Watir

I have updated this by creating an example information section, plus updating 
the base note, and adding links to External Links and See Also.
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=4501messageID=12470#12470
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] Managing the Watir Project -- Wikipedia entry

2006-09-26 Thread Paul Carvalho
Nice! Thanks. =)On 26/09/06, Sun [EMAIL PROTECTED] wrote:
Regarding documentation, please see: http://en.wikipedia.org/wiki/WatirI have updated this by creating an example information section, plus updating the base note, and adding links to External Links and See Also.

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Managing the Watir Project -- Wikipedia entry

2006-09-26 Thread Bret Pettichord
On 9/26/06, Sun [EMAIL PROTECTED] wrote:
Regarding documentation, please see: http://en.wikipedia.org/wiki/WatirThank you for taking the time to do this. I do have a comment that i hope you won't take personally.
I find code like this to be rather embarrassing:# To handle general popups, use WinClicker.ie.button(:name, btnG).click_no_wait   # ensure popup won't block Watir
hwnd = ie.enabled_popup(5)   # get a handle if one existsif (hwnd)# yes there is a popup  w = WinClicker.new  w.makeWindowActive(hwnd)  w.clickWindowsButton_hwnd
(hwnd, Yes) # click the Yes buttonendI keep meaning to write a simpler way of doing this kind of thing, but then never really have the time to follow through. In my opinion, The code should actually look like this:

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general