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
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
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
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:
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/')
=
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
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
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]
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
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
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
11 matches
Mail list logo