Re: [Wtr-general] TextField#set and utf-8

2007-02-26 Thread Bret Pettichord
See http://jira.openqa.org/browse/WTR-71 for comments on how to support Chinese. - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6674&messageID=19265#19265 ___ Wtr-

Re: [Wtr-general] Test Data Cleanup/Reset Database in a .bat between tests

2007-02-26 Thread Chris McMahon
> They work if these tests are run individually. However, when I run the > class, they fail, since the TC#1 already created the user jdandy. > > So, how can I call this batch file in between each TC, with the batch file > completing before starting TC#2? You might consider making a direct datab

Re: [Wtr-general] Installing FireWatir on Intel Mac OS X Tiger (Intel)

2007-02-26 Thread Angrez Singh
Hi Christopher, I appreciated your efforts to test FireWatir on Mac. I am still not able to get why it is not working, if you are able to connect to JSSh? Do you get any errors on JavaScript console of Firefox because as per testing with Dave Hoover the xpi was not getting installed properly on

Re: [Wtr-general] Installing FireWatir on Intel Mac OS X Tiger (Intel)

2007-02-26 Thread Angrez Singh
Hi Christopher, I appreciate your efforts to test FireWatir on Mac. I am still not able to get why it is not working, if you are able to connect to JSSh? Do you get any errors on JavaScript console of Firefox because as per testing with Dave Hoover the xpi was not getting installed properly on F

Re: [Wtr-general] Test Data Cleanup/Reset Database in a .bat between tests

2007-02-26 Thread Paul Carvalho
I think you might be interested in the 'setup' and 'teardown' methods. Read through the ruby-doc.org page on the Test:Unit module. On 26/02/07, Jason <[EMAIL PROTECTED]> wrote: I have numerous TC methods within a class. Before I execute the script, I have a batch file (C:\mybatchfile.bat) I r

[Wtr-general] Can Watir be paused & resumed manually when running test cases?

2007-02-26 Thread Jason He
Hi, I want add the pause/resume feature into the watir testing, rather than interrupt it and restart the whole testing process. Please anybody tell me if it is possible, or is there such solution on hand already. Thanks Jason ___ Wtr-gene

Re: [Wtr-general] Button identification

2007-02-26 Thread Chris McMahon
That's a frame. You need to do something like frame(:name, 'Quickwatch').show_all_objects On 2/22/07, Simba <[EMAIL PROTECTED]> wrote: > Thanks Bret , Toady i have seen that limitation in Watir site , i did not > knew this limitation in Watir and also i am new to Watir , I have another > ques

Re: [Wtr-general] OT: Test unit reporter project dead?

2007-02-26 Thread Nick Sieger
On 2/26/07, Bret Pettichord <[EMAIL PROTECTED]> wrote: > Nick Sieger wrote: > > The other bit is that it will write its report files to > > "test/reports", unless you set the ENV variable "CI_REPORTS" to a > > directory where they should be written. > I didn't know to look here. I installed ci_repo

Re: [Wtr-general] Nested Frames

2007-02-26 Thread Akhil Mehra
Cheers Thanks for your help. Akhil >>> Bret Pettichord <[EMAIL PROTECTED]> Tuesday, 27 February 2007 11:36 a.m. >>> Akhil Mehra wrote: > No the applications is currently hosted on the same server. I get the > following error when clicking on a link from one frame which inter > updates another

[Wtr-general] Test Data Cleanup/Reset Database in a .bat between tests

2007-02-26 Thread Jason
I have numerous TC methods within a class. Before I execute the script, I have a batch file (C:\mybatchfile.bat) I run that basically resets the database and then performs some inserts for database setup. The test data and scripts I am creating are using the same data. For example, I have a

Re: [Wtr-general] Button identification

2007-02-26 Thread Bret Pettichord
Simba wrote: > Thanks Bret , Toady i have seen that limitation in Watir site , i did not > knew this limitation in Watir and also i am new to Watir , I have another > question for you > > For some page I used ie.show_all_objects in CMD , it has given ouput > something like this > HTML Docuemnt

Re: [Wtr-general] OT: Test unit reporter project dead?

2007-02-26 Thread Bret Pettichord
Nick Sieger wrote: > The other bit is that it will write its report files to > "test/reports", unless you set the ENV variable "CI_REPORTS" to a > directory where they should be written. I didn't know to look here. I installed ci_reporter today and had to read the source to figure this out (I s

Re: [Wtr-general] A Question about Java applets

2007-02-26 Thread Bret Pettichord
Quang wrote: > Is there any way of using watir with java applets? Or does anyone know of any > testing tool that could test java applets? > You'll need to use a Java GUI Testing tool, like Abbot or Marathon. ___ Wtr-general mailing list Wtr-general@ru

[Wtr-general] Installing FireWatir on Intel Mac OS X Tiger (Intel)

2007-02-26 Thread Christopher Rasch
Hi, I'm trying to get FireWatir 1.0.1 installed and working on Mac OS X Tiger (Intel), v. 10.4.8. However, the unittests won't run, and when I try to debug, I'm getting what appear to be errors related to my readline installation. I'm documenting the process at my blog: http://crasch.livejou

Re: [Wtr-general] Nested Frames

2007-02-26 Thread Bret Pettichord
Akhil Mehra wrote: > No the applications is currently hosted on the same server. I get the > following error when clicking on a link from one frame which inter > updates another frame. > > Exception: unknown property or method `readyState' > HRESULT error code:0x80070005 > Access is

Re: [Wtr-general] Problem with wrapper created around Watir.rb

2007-02-26 Thread Bret Pettichord
Your problem is that unlike the Watir::IE objects, the objects returned by Watir::IE::Frame are short lived. You are using your reference for too long. Specifically a page refresh invalidates the object. Details below. Bret # return a current, valid reference to the frame. def content_frame

Re: [Wtr-general] OT: What's the right way to exit a script?

2007-02-26 Thread Bill Agee
You might want to investigate the OptionParser class: http://www.ruby-doc.org/stdlib/libdoc/optparse/rdoc/index.html There's also GetoptLong, which has worked for me in the past. - Posted via Jive Forums http://forums.openqa.org/

Re: [Wtr-general] WIN32OLERuntime Error

2007-02-26 Thread Lauren
Update: Removing gem watir-1.5.1.1158 and then installing watir-1.5.1.1145 removes the error for me. I am now able to execute my script without error. It appears there are some issues with watir-1.5.1.1158. - Posted via Jive For

[Wtr-general] WIN32OLERuntime Error

2007-02-26 Thread Lauren
Okay...all of my problems started after I removed "WET" because I wasn't using it. Uninstalling WET removed my latest version of WATIR.I then had to get one of my Sys Admins to come over and remove ruby and re-install ruby for me. I then grabbed the latest gem: 1.5.1.1158 I now get the follow

Re: [Wtr-general] TextField#set and utf-8

2007-02-26 Thread Ċ½eljko Filipin
Paul, I just wanted to say thanks. I tried reading special characters (also accented European characters) from Excel and setting text fields with that and it works! (And, it was really simple.) In case anybody is interested in details, visit my blog (zeljkofilipin.com). If anybody has another s

Re: [Wtr-general] Watir + IE dev toolbar

2007-02-26 Thread mark
I've had the same happen to me. The fault is with the IE Development Toolbar. Certainly has nothing to do with Watir/Ruby. It's a good tool for writing scripts . . . but bad at keeping an IE window open. I'm in the habit of uninstalling it whenever I run a script. Cheers ---