[Wtr-general] FireWatir for 64bit Fedora 7

2007-07-18 Thread salamond
Hello, guys. I've been setting up environment for a couple of days. Using IE thought Wine on Fedora works fine, But when using FireWatir, jssh extensions really block me. I downloaded a jssh.xpi and load into Firefox, but it doesn't work. My guess would be jssh is in c++, and have to be

[Wtr-general] Multiple threads and the find file dialog box - failure to select the file

2007-07-18 Thread Jason
I've got some simple thread code, included below, which will attempt to process every file it finds in a particular directory in a new thread within my application under test. This is essentially some very light load testing. (Obviously I've left a lot of the code out, but there's enough to

Re: [Wtr-general] Unable to select an item using select_list

2007-07-18 Thread Željko Filipin
On 7/18/07, rvishnubhotla [EMAIL PROTECTED] wrote: option value=16nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Catalyst 6500/option Hi Radha, There is ten spaces before Catalyst 6500, that is why ie.select_list(:name, productId).select(Catalyst 6500) did not work. I thought this would

Re: [Wtr-general] Unable to select an item using select_list

2007-07-18 Thread Cain, Mark
You could have done this also: ie.select_list(:name, productId).select(/Catalyst 6500/i) --Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Željko Filipin Sent: Wednesday, July 18, 2007 2:34 AM To: wtr-general@rubyforge.org Subject: Re:

Re: [Wtr-general] Unable to select an item using select_list

2007-07-18 Thread rvishnubhotla
Hi Zeljko, Thanks very much. Tried the below as you suggested and it worked. Hurray !!! $ie.select_list(:name, productId).select(/Catalyst 6500/) I actually tried a slight variation of the above before posting which didn't work: = $ie.select_list(:name, productId).select('/Catalyst 6500/') =

[Wtr-general] Dissapearing text fields

2007-07-18 Thread Lee
I am writing some tests for a web application, and my initial code in one of the tests was something like this: =begin setup code and includes/requires watir =end =begin other tests needed to get to this point =end def FileCompanyInfo if $browser.text_field(:name, 'Name').exists? then

Re: [Wtr-general] Unable to select an item using select_list

2007-07-18 Thread Željko Filipin
Hi Radha, Comments are inline. On 7/18/07, rvishnubhotla [EMAIL PROTECTED] wrote: Thanks very much. I am glad I could help. :) I actually tried a slight variation of the above before posting which didn't work: = $ie.select_list(:name, productId).select('/Catalyst 6500/') '/Catalyst

Re: [Wtr-general] Unable to select an item using select_list

2007-07-18 Thread Cain, Mark
I don't think you are supposed to put single quotes around the regular expression. --Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of rvishnubhotla Sent: Wednesday, July 18, 2007 10:29 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general]

Re: [Wtr-general] Dissapearing text fields

2007-07-18 Thread marekj
I assume you say that this line fails: assert($browser.text_field(:name, 'Name').exists?) in test_FileCompanyInfo Tricky... Are there other def test_ in the class? My immediate hunch is that tests run alphabetically and not sequentially if you have more than one. could be that the test runs

Re: [Wtr-general] Dissapearing text fields

2007-07-18 Thread Lee
I did some other searches, and found something that said that test runner executes them randomly, so I renamed my tests like it had suggested , test_000_name1 test_001_name2 etc to force the ordering, and it worked. There were multiple tests, but they had to be run in sequence. Thanks, that

Re: [Wtr-general] Dissapearing text fields

2007-07-18 Thread marekj
On 7/18/07, Lee [EMAIL PROTECTED] wrote: I did some other searches, and found something that said that test runner executes them randomly, well, not 'randomly' but alphanumerically. test unit is built in a such a way as not to introduce dependency between tests in a test case class. That