[Wtr-general] Helping with Watir's documentation

2007-04-24 Thread Jeff Fry
I offered to Brett, off list, to help some with watir documentation. It started with Brett answering a question of mine on the list, letting me know that divs and text_fields can be accessed by :class, in addition to the ways that are currently documented in the rdoc. I asked if I could be of

Re: [Wtr-general] Watir T-shirt

2007-04-24 Thread ankur bajpai
thats a gr8 idea.lets go ahead!!! On 4/24/07, Walter Kruse [EMAIL PROTECTED] wrote: I'm in. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Sent: 24 April 2007 12:48 AM To: wtr-general@rubyforge.org Subject: [Wtr-general] Watir T-shirt I

Re: [Wtr-general] How to save file via File download dialog

2007-04-24 Thread jhe
Well, it seems that your method is for uploading the file, but my question is how to automatically download a file. Regards, Jason _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ajitesh Srinetra Sent: 2007年4月23日 22:08 To: wtr-general@rubyforge.org Subject: Re:

Re: [Wtr-general] How to save file via File download dialog

2007-04-24 Thread jhe
As I known, it is also for uploading file. Is it also available for downloading? Regards, Jason _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ajitesh Srinetra Sent: 2007年4月23日 22:11 To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] How to save file via

[Wtr-general] Javascript dialogs - reading and closing

2007-04-24 Thread SHALINI GUPTA
HI, I have tried your code to capture text from popup window. but i am getting a problem. because of this line of ur code assert_js_dialog do @ie.button(:value, Alert test).click end it runs the script indefinately. please solve my problem.. i tried this as...

[Wtr-general] how to capture text from popup window

2007-04-24 Thread SHALINI GUPTA
HI List, Please help regarding popup. How to get the text of a popup window.. its very urgent please help. Regards Shalini gupta ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] how to capture text from popup window

2007-04-24 Thread Angrez Singh
Hi, As far as I know, clicking some button on Pop up window happens in a different process (different from current process in which your script is running). Correct me if I am wrong here? You can get the text using AutoIt3 and WinGetText method. The only thing you need to find out is how you

[Wtr-general] How to incorporate my Watir script into Nunit

2007-04-24 Thread Eoin
Hi, I've Watir,Ruby,Nunit up and running. I've a Watir script that runs ok standalone so now I want to incorporate it into Nunit. *WatirTest.rb* require 'watir' require 'test/unit' require 'test/unit/assertions' include Watir class WatirTest Test::Unit::TestCase def setup

[Wtr-general] OT: New version of RDT plugin for Eclipse

2007-04-24 Thread Charley Baker
For all of you who are working with Eclipse and the rdt plugin, there's a new version finally. They haven't updated their main site, but have a news announcement on their base sourceforge project page: Most notably are the inclusion of refactorings, mark occurrences support, improved code

[Wtr-general] Cannot get Autoit to create a simple control instance

2007-04-24 Thread Russ DeWolfe
I have installed AutoIT, including the dll and the autoitx active x control and here is what I get: irb(main):001:0 require 'win32ole' = true irb(main):002:0 autoit = WIN32OLE.new('AutoItX3.Control') WIN32OLERuntimeError: unknown OLE server: `AutoItX3.Control' HRESULT error code:0x800401f3

Re: [Wtr-general] how to capture text from popup window

2007-04-24 Thread SHALINI GUPTA
hi, thanks for reply!!! but i have used autoit and WinGet Text as:---(with no success) #- js_dialog.rb - require 'win32ole' require 'test/unit' require 'test/unit/ui/console/testrunner' # # Use AutoIt to read and close Javascript dialog windows # module JavascriptDialog # #

Re: [Wtr-general] NoMethodError: undefined method `assert_equal'

2007-04-24 Thread SHALINI GUPTA
hi, I have used this as... $oPopup=Watir::autoit $oPopup.AutoItSetOption(WinTitleMatchMode, 4) 0.upto(timeout) |i| ret = $oPopup.WinWait(Microsoft Internet Explorer,,1) win_text = $oPopup.WinGetText(Microsoft Internet Explorer) if 1 == ret

Re: [Wtr-general] how to capture text from popup window

2007-04-24 Thread SHALINI GUPTA
hi, Thanks for quick reply... please tell me how can i write output of one method to a file my method is.. def text(wait_seconds = 1) # sleep 0.3 autoit.WinWait(WINDOW_TITLE, nil, wait_seconds) if wait_seconds s = autoit.WinGetText(WINDOW_TITLE) s