Re: [Wtr-general] Calling Function Error - like No test were specified

2007-04-19 Thread Charley Baker
Hmmm, there's quite a lot going on here. Where to begin. Classnames must be capitalized: class MainTestManage not class mainTestManage I'm not sure why you've defined a module nor why you're explicitly naming your class names in your module with the as class methods. You maintestManage class

Re: [Wtr-general] (no subject)

2007-04-19 Thread Prema Arya
Cool!! Thanks a lot. On 4/20/07, Christopher Rasch <[EMAIL PROTECTED]> wrote: Hi, I've put a tutorial describing how I got Firewatir (firewatir-1.0.2) working with Firefox (version 2.0.0.3) on my Mac OS X Tiger (Intel) box here: http://crasch.livejournal.com/550521.html Suggestions for im

[Wtr-general] Calling Function Error - like No test were specified

2007-04-19 Thread vamsi
Hi, Getting an Calling fuction error Please find the script and error message below. require 'watir' include Watir require 'test/unit' require 'test/unit/ui/console/testrunner' require 'win32ole' class maintestManage < Test::Unit::TestCase def maintestManage maintes

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

2007-04-19 Thread jhe
Dear all, I need to download a file, it popup a dialog when click the link, I use the following code to do it, --- def test_d $ie.goto(@@test_site + "/cgi-bin/summary.cgi") $ie.button(:caption, "Save").c

[Wtr-general] watir unit tests

2007-04-19 Thread Bernard Kenik
I have installed Watir gem 1.5.1.1164 (actually 1165) results of core_tests.rb C:\ruby\lib\ruby\gems\1.8\gems\watir-1.5.1.1164\unittests>core_tests.rb Loaded suite C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/unittests/core_tests Started ..

Re: [Wtr-general] click not clicking?

2007-04-19 Thread Peter Gits \(pgits\)
Paul Rogers thanks for the quick turn-around on this, you were correct. Cheers, Peter M. Gits Re: [Wtr-general] click not clicking? Paul Rogers Thu, 19 Apr 2007 14:23:41 -0700 looks to me like you are clicking the table cell, but the thing you want to click is the link in that cell.

[Wtr-general] (no subject)

2007-04-19 Thread Christopher Rasch
Hi, I've put a tutorial describing how I got Firewatir (firewatir-1.0.2) working with Firefox (version 2.0.0.3) on my Mac OS X Tiger (Intel) box here: http://crasch.livejournal.com/550521.html Suggestions for improvement are welcome. Chris -- Christopher Rasch [EMAIL PROTECTED]

[Wtr-general] How to install Firewatir on Mac OS X Tiger (Intel)

2007-04-19 Thread Christopher Rasch
Hi, I've put a tutorial describing how I got Firewatir (firewatir-1.0.2) working with Firefox (version 2.0.0.3) on my Mac OS X Tiger (Intel) box here: http://crasch.livejournal.com/550521.html Suggestions for improvement are welcome. Chris -- Christopher Rasch [EMAIL PROTECTED]

Re: [Wtr-general] unknown property or method `readyState'

2007-04-19 Thread Bret Pettichord
Adam Reed wrote: > You know, I've been user the older dev version of watir and just started > receiving this error two days ago. Older scripts that were working > fine, all of a sudden stall out indefinitely, and give the readyState > error when I abort them. I just upgraded to 1165 today, and st

Re: [Wtr-general] Accessing an id element with a table

2007-04-19 Thread Paul Rogers
The table CELL has an id. I think you can click a cell directly ie.cell(:id , 'idonfo').click I have finally found my Table cell that I want to click: ie.table(:index,8)[3][5].click However, this TD has an id, and when I try to access it by id like this: ie.table(:id,'idinfo').click watir/r

Re: [Wtr-general] click not clicking?

2007-04-19 Thread Paul Rogers
looks to me like you are clicking the table cell, but the thing you want to click is the link in that cell. try this nested5[3][2].link(:index,1).click In the irb, I have successfully traversed down to the table item that I wish to click on, I can flash it properly, but I can't seem to get th

[Wtr-general] click not clicking?

2007-04-19 Thread Peter Gits \(pgits\)
In the irb, I have successfully traversed down to the table item that I wish to click on, I can flash it properly, but I can't seem to get the 'click' method to succeed? Perhaps I need to restart irb and get back to the appropriate spot in case something got messed up. Here is the raw html

Re: [Wtr-general] Accessing an id element with a table

2007-04-19 Thread Ċ½eljko Filipin
Hi Russ, Try ie.cell(:id,'idinfo').click Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Accessing an id element with a table

2007-04-19 Thread Russ DeWolfe
I have finally found my Table cell that I want to click: ie.table(:index,8)[3][5].click However, this TD has an id, and when I try to access it by id like this: ie.table(:id,'idinfo').click watir/ruby cannot find the element, can anyone tell me the correct way to get to this element by id? I

Re: [Wtr-general] unknown property or method `readyState'

2007-04-19 Thread Adam Reed
You know, I've been user the older dev version of watir and just started receiving this error two days ago. Older scripts that were working fine, all of a sudden stall out indefinitely, and give the readyState error when I abort them. I just upgraded to 1165 today, and still have the same problem

Re: [Wtr-general] Watir and smartclient

2007-04-19 Thread Sergio Pinon
I was looking for that. I didn't see that message in my list. I must have accidentally deleted it. Thanks Adam. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Reed Sent: Thursday, April 19, 2007 8:16 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr

Re: [Wtr-general] Watir and smartclient

2007-04-19 Thread Adam Reed
Sadeesh sent this to the list yesterday: Hi, Can we use Watir for testing applications developed using smartclient. (Smartclient will use javascript elements instead of HTML elements.) Thanks, Sadeesh Vinoth T ___ Wtr-general mailing list Wtr-general@r

Re: [Wtr-general] Watir and smartclient

2007-04-19 Thread Sergio Pinon
What is that you are looking for help with? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sadeesh Vinoth Sent: Thursday, April 19, 2007 7:28 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Watir and smartclient Can anyone help me. __

Re: [Wtr-general] Watir and smartclient

2007-04-19 Thread Angrez Singh
Hi Sadeesh, Is it possible for you to post the sample output as in how it looks? Certainly looking at the output one could be able to help in telling whether you can use Watir for testing or not. Regards, Angrez On 4/19/07, Sadeesh Vinoth <[EMAIL PROTECTED]> wrote: Can anyone help me. ___

Re: [Wtr-general] Watir and smartclient

2007-04-19 Thread Sadeesh Vinoth
Can anyone help me. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] problem in attaching to browser using FireWatir

2007-04-19 Thread Angrez Singh
Hi Vikash, As of now you can't do that in Firewatir. You can only attach to windows using an instance of Firefox. This is by design as we have to maintain all the browser instances that are currently opened and close them accordingly. Will try to come up with a solution which works like Watir but

Re: [Wtr-general] How to verify the values in the tages

2007-04-19 Thread Michael Bolton
I wonder about that--Test::Unit doesn't spell the word "acutal", does it? Also, if what Vamsi has rendered below has been transcribed accurately, the comma before "data" in the assert_match line would screw things up. Vamsi--is that message copied and pasted from the screen by using the Windows cl