[Wtr-general] Test Run

2005-12-15 Thread Zeljko Filipin
I have just read Low-Level Web App UI Test Automation (http://msdn.microsoft.com/msdnmag/issues/05/10/TestRun/). It is about testing web applications. ...access and manipulate HTML objects in the client area of MicrosoftR Internet Explorer. I guess that most of you that develop watir have already

[Wtr-general] Java applets and watir

2005-12-15 Thread Tolou Taherinia
Hi all, I was reading the WATIR user guide and it saidthat watir does notsupport java applets, however I am testing an web application which uses applets regularely. I was wondering if anyone has found a way around this issue by extending the watir code, etc. or it is really impossible to

Re: [Wtr-general] Assert Question

2005-12-15 Thread David.J.Solis
Thanks. Are there updated docs? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret PettichordSent: Tuesday, December 13, 2005 11:03 PMTo: wtr-general@rubyforge.orgSubject: Re: [Wtr-general] Assert Question David,You are looking at old, and incorrect

[Wtr-general] java script code

2005-12-15 Thread Tolou Taherinia
hi all I was wondering if it is possible to extend watir in order to call _javascript_ function from it...and if yes could you please provide an example. Thank you in advance ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] == works, but === doesn't

2005-12-15 Thread Matthew Tobiasz
Hello, Aren't the == and === operators meant to be equivalent? If so, why does this happen: BEGIN CODE if Watir::Button === Watir::Button puts === True else puts === False end if Watir::Button == Watir::Button puts == True else puts == False end END CODE Which results in: BEGIN

Re: [Wtr-general] == works, but === doesn't

2005-12-15 Thread Eduardo Rocha
If you write: require watir puts Watir::Button.class you'll se that the type of Watir::Button is Class. So the following test: if Watir::Button === Watir::Button is can be read as The class 'Watir::Button' is of type Watir::Button?, and the answer is no, because the type is Class. Only if you

Re: [Wtr-general] How to manipulate attaching files

2005-12-15 Thread Cain, Mark
Try something like this using file_field instead of text_field: $path = C\:\\watir_bonus\\working\\Approach.doc $ie.frame(:index, 5).file_field(:id, fileName).set(#{$path}) $autoit = WIN32OLE.new(AutoItX3.Control) $autoit.WinWait(Choose file, Do you want to open or save this

Re: [Wtr-general] How to manipulate attaching files

2005-12-15 Thread Bill Agee
Title: Message I think file fields are treated as a different type of object than text fields. But you should be able toset file fields using 'fileField'...here's an example from the "filefield_test.rb" WATIR unit test: $ie.fileField(:name,"file1").set($htmlRoot + "fileupload.html")