I'm seeing the same error on my environment. Here is the same code along with
the error.
Code:
require 'rubygems'
require 'watir'
include Watir
#require 'watir_ext' # extension to watir for 'visible?'
#include Watir
require 'test/unit'
require 'csv'
puts Watir::IE::VERSION # check for
a month) and when I came back I saw these errors so
I decided to update Ruby and Watir. I wander if something broke when IT ran
Microsoft patches to our machines.
Thanks,
Brad
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org
1.5.1.1136) on another
machine running Windows XP and I don't see this problem. The OLE version now
shows 0.6.9.
Brad
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I'm running the Test Unit Reporter in HTML, the report looks good but I don't
see a Date / Time stamp of when the test was performed in the summary.html.
How does one add this information to this report.
Using:
Test::Unit::UI::Reporter.run(TestSuite_AllTests,'build/report',:html)
Thanks,
Brad
). Thanks for your response.
br br
Brad
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6193messageID=17601#17601
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Hi,br
Thanks for the reply. Below is the HTML code for
the table. BTW, is there a way to attach files to postings?brbr
Thanks,br
Brad/p
p~~/p
ptable cellpadding=10
width=100%br
trbr
tdbr
divbr table cellspacing=0
cellpadding=4 border=0 id
When I use the following following command, the array shows the first element
as '[]' instead of the Header values. How do I get the Header values from the
table?
my_array = $browser.table(:id ,
'ctl00_MasterContentPlaceHolder_DomainGridView').to_a
p my_array
I see the following output:
In trying the following, I get the header values.
my_array = $browser.table(:id ,
'ctl00_MasterContentPlaceHolder_DomainGridView').row_values(1)
p my_array
Why doesn't '.to_a' give the first row (Header)?
Thanks,
Brad
-
Posted
Thanks Charley for the further explanation...brbr
This worked when adding 'watir_ext' as explained and the following:br
visi_span=$browser.span(:id, MainLogin_UserNameRequired)br
if visi_span.visible?br
puts Span is visiblebr
elsebr
puts Span is _not_ visiblebr
endbr
br
~Brad
of times or continuouslybr
* test results are logged and shown in 'test executive'brbr
If no open source, has anyone written something like this? If so, can I get a
copy of this? Or can someone point me to a link that may help me in my
investigation?brbr
Thanks,
Brad
nchristie, thanks this worked.brbr
I did not try the 'walk DOM tree for checking of disabled or non-visible
elements'; this looks 'advanced'. :) brbr
Brad
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID
Thanks Paul...brbr
Both 'invoke' statements worked.brbr
Brad
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5879messageID=16770#16770
___
Wtr-general mailing
' parameter of 'style'?
Thanks,
Brad
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5879messageID=16440#16440
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http
13 matches
Mail list logo