Re: [Wtr-general] WATIR Extension Toolkit (WET)

2006-11-08 Thread Raghu Venkataramana
Phlip wrote: Can you use WET's capture system to extrude scripts which you then run in Watir 1.4? The Watir script assistant module of WET is in fact designed mainly for 1.5. Although it will work if you have either 1.4 or 1.5, the scripts are more tuned towards 1.5 (esp. when it

Re: [Wtr-general] click_no_wait (again)

2006-11-08 Thread Markus
No magic here: ie = Watir::IE.start(http://internal.web.project;) ie.text_field(:name, txtUserName).set(myname) ie.text_field(:name, txtPassword).set(mypass) ie.button(:value, Anmelden).click ie.goto(http://internal.web.project/subpage;) ie.text_field(:name, txtKurzname).set(xyz)

Re: [Wtr-general] click_no_wait (again)

2006-11-08 Thread Markus
Found the solution :) IE is my standard browser, but I use Avant instead. When Avant is running (which it usually is), watir uses that instance. Unfortunately usage of Avant causes the exception. I closed it, startet IE 6, ran the example and it worked. Is there a way to tell watir to use a

Re: [Wtr-general] Is there any way to get all the scr's of images?

2006-11-08 Thread sikander
Hi Paul, Its giving error for ie.html.scan(/src\s*=\s*'(.*)?') here. Please correct it. Thanks, From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul RogersSent: Saturday, November 04, 2006 9:22 PMTo: wtr-general@rubyforge.orgSubject: Re: [Wtr-general] Is there any way to

[Wtr-general] Watir tests as how-to documents

2006-11-08 Thread Željko Filipin
You have a bunch of Watir tests, right? With every build of your application under test, you run them all. If a test fails, application should be fixed, or you test should be fixed. Wouldn't it be nice to make how-to documents from that tests? Time for an example.def login_as(username, password)

Re: [Wtr-general] spiderwatir!

2006-11-08 Thread Christian Kreutzer
interesting! This could be the right technology for paul rogers RuMBA project. Christian On 11/7/06, Chris McMahon [EMAIL PROTECTED] wrote: Here's the next FireWatir or SafariWatir, I think: http://www.mozilla.com/en-US/press/mozilla-2006-11-07.html

Re: [Wtr-general] Watir tests as how-to documents

2006-11-08 Thread Richard Conroy
On 11/8/06, Željko Filipin [EMAIL PROTECTED] wrote: You have a bunch of Watir tests, right? With every build of your application under test, you run them all. If a test fails, application should be fixed, or you test should be fixed. Wouldn't it be nice to make how-to documents from that

Re: [Wtr-general] Is there any way to get all the scr's of images?

2006-11-08 Thread sikander
Thanks, the following code works very well for images. How about buttons, drop down list boxes, text boxes. Thanks, Sikander From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam ReedSent: Monday, November 06, 2006 8:57 PMTo: wtr-general@rubyforge.orgSubject: Re:

Re: [Wtr-general] Watir tests as how-to documents

2006-11-08 Thread Željko Filipin
What I want to do is to generate how-to documents for users of application that I test. When user clicks how-to link (or help, or whatever), there should be list:- login- do something- do something else ...- logoutSelect login and you get:- go to 'my.app/login.aspx'- there should be text 'Please

Re: [Wtr-general] Watir tests as how-to documents

2006-11-08 Thread Chris McMahon
Check out Joe O'Brien's recent rSpec post: http://objo.com/2006/11/7/rspec-7-is-outThat might get you part of the way. -Chris On 11/8/06, Željko Filipin [EMAIL PROTECTED] wrote: You have a bunch of Watir tests, right? With every build of your application under test, you run them all. If a test

Re: [Wtr-general] Watir tests as how-to documents

2006-11-08 Thread John Lolis
I do this to a degree, but I consider it to be logging not documentation. I have 3 levels of logging (there are more, but thats besides the point) Section, Test and Details A section would be like Administration a test would Create a New User and details are Clicked 'new user', 'Set user name

Re: [Wtr-general] Is there any way to get all the scr's of images?

2006-11-08 Thread Adam Reed
I wrote a script a while back that yanks all the elements on a page and puts them in a nicely formatted xml document. The only things I've had to change when sending examples has been to use the 'puts" command at the end rather than the xml inject, and remove the outer "XML.images do" loops

Re: [Wtr-general] spiderwatir!

2006-11-08 Thread Paul Rogers
I didnt read all that article, so maybe I missed something really important.. But isnt this just saying they are going to open source it? Since Im unlikely to read the source, I dont think it will be much help to me. Rumba has been working using flash, Ive sort of proved it can work but got no

Re: [Wtr-general] spiderwatir!

2006-11-08 Thread Bach Le
This is very interesting news. Opens a whole new arena for functionality testing by allowing us to test even more rich web pages like those using flash, which if I'm not mistaken, is not possible with watir and difficult if not impossible with other technologies. -Bach

Re: [Wtr-general] Watir tests as how-to documents

2006-11-08 Thread Bret Pettichord
Željko Filipin wrote: Has anybody done something like this? I am thinking of doing it, but If somebody has done it already, I would like to take a look. Systir included something along these lines. You should check it out. ___ Wtr-general mailing list

Re: [Wtr-general] spiderwatir!

2006-11-08 Thread Christian Kreutzer
They are going to merge that actionscript VM with the mozilla javascript engine. by reading that article i had the feeling that ideas like Rumba (controlling a browser via flash) or that tools like watiir or selenium have access to flash objects should be much easier to implement then.

Re: [Wtr-general] Watir tests as how-to documents

2006-11-08 Thread Paul Rogers
rspec gets closest to doing this. THere is some command line option that you need to use. But I cant rememerb what it is You have a bunch of Watir tests, right? With every build of your application under test, you run them all. If a test fails, application should be fixed, or you test should be

Re: [Wtr-general] modal dialogs in IE 7.0

2006-11-08 Thread Lillis, Dara
[sorry for the long delay, I cleverly sent the last email just before going on vacation] I am using dialog rather than winClicker, but it was fairly obvious from your example what change I needed to make. line 32 of watir\dialog.rb OLD unless name_pattern =~ autoit.WinGetText(Microsoft Internet

Re: [Wtr-general] click_no_wait (again)

2006-11-08 Thread Bret Pettichord
Markus wrote: Found the solution :) IE is my standard browser, but I use Avant instead. When Avant is running (which it usually is), watir uses that instance. Unfortunately usage of Avant causes the exception. I closed it, startet IE 6, ran the example and it worked. Is there a way to

Re: [Wtr-general] modal dialogs in IE 7.0

2006-11-08 Thread Cain, Mark
I am pretty sure that is yes. --Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lillis, Dara Sent: Wednesday, November 08, 2006 11:42 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] modal dialogs in IE 7.0 [sorry for the long delay, I

Re: [Wtr-general] modal dialogs in IE 7.0

2006-11-08 Thread Lillis, Dara
already done: http://jira.openqa.org/browse/WTR-115 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charley Baker Sent: Wednesday, November 08, 2006 4:09 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] modal dialogs in IE 7.0 Hi Dara,