I just want to make assert of link, after i remove rescue block, assert method works and I can see that test failed on report, but it skips my test case and I wish to avoid it, I want to add some extra information to my logger file when test fails
def test_namemethod begin assert($ie.link(:text,
I answer myself I've done something like this:beginassert($ie.link(:text, 'name_of_link').exists?)rescue =e#my extra code to do something when assert failed, then i return exceptionraiseend
now it seems to work, does anyone know better way?Luke
___
Sorry for asking but I can't deal with it, I've got a table on page and I want to get to the cell Action can someone show me how to do it,I can't firgure out and fail all the time
table id=form1:ReportUnit:tblDetails style=font-size: 11px;width: 640px
class=Tbl border=0
cellpadding=0
how to get to link in table? I need to get first to the table then to link in particular cell, how can i access to that? Lukas
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi
Once and a while I get the following two errors:
WIN32OLERuntimeError: Unknown property or method: `visible'
HRESULT error code:0x800706be
The remote procedure call failed.
WIN32OLERuntimeError: Unknown property or method `quit'
HRESULT error code:0x800706ba
The RPC
Something like this:
$ie.table(:id, 'table_id')[2][4].link(:url, /part_of_link/).click
where 2 refers to the 2nd row and 4 is the 4th cell in that row,
replace with whatever row/cell you're looking for. The :url in link is
looking for some text (part_of_link) that's contained in the url for
Luke wrote:
now it seems to work, does anyone know better way?
Use the verify method that i've posted to this mailing list and which is
included in 1.5.1.1100
Bret
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Technically this is a Ruby question but...since it is useful to record test run
timing information in Excel format, I think it is relevant to this forum. The
question is...suppose I write out some test output that looks like this:
===
Test, Acceptable log in time, 5, Actual time to log
[EMAIL PROTECTED] wrote:
Hi
Once and a while I get the following two errors:
WIN32OLERuntimeError: Unknown property or method: `visible'
HRESULT error code:0x800706be
The remote procedure call failed.
WIN32OLERuntimeError: Unknown property or method `quit'
HRESULT error
I've never had this error, but there are a couple of threads on the
mailing list which might help you out:
http://www.mail-archive.com/wtr-general@rubyforge.org/msg04445.html
http://www.mail-archive.com/wtr-general@rubyforge.org/msg03870.html
-Charley
On 9/22/06, [EMAIL PROTECTED] [EMAIL
I am pleased to announced that Charley Baker has accepted the position
of project manager for the Watir project. Charley has been helping the
project in numerous ways. He made sure that all the open issues were
migrated and documented in Jira, which allowed me to put together the
dynamic road map
11 matches
Mail list logo