build/report'
FileUtils.mkdir_p 'logs'
$args = 'report'
if $args == "report"
**what goes here**
#Test::Unit::UI::Reporter.run(TestSuite_AllTests,'build/report',:html)
elsif
Test::Unit::UI::Console::TestRunner.run(TestSuite_AllTests)
end
Thanks,
Brad
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
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
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
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 WAT
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',
e result in first question). Thanks for your response.
Brad
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6193&messageID=17601#17601
___
Wtr-general
Hi,
Thanks for the reply. Below is the HTML code for
the table. BTW, is there a way to attach files to postings?
Thanks,
Brad
~~
Domain NameServer
Name Dreamliner
LocalUpTime25
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
---
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:
[[],
iple specified number of times or continuously
* test results are logged and shown in 'test executive'
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 hel
Thanks Charley for the further explanation...
This worked when adding 'watir_ext' as explained and the following:
visi_span=$browser.span(:id, "MainLogin_UserNameRequired")
if visi_span.visible?
puts "Span is visible"
else
puts "
Thanks Paul...
Both 'invoke' statements worked.
Brad
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5879&messageID=16770#16770
___
Wtr-general ma
thanks this worked.
I did not try the 'walk DOM tree for checking of disabled or non-visible
elements'; this looks 'advanced'. :)
Brad
-
Posted via Jive Forums
http://
I'm a newbie and have been searching on how to verify if a SPAN element is
visible. I tried different things without success. Here is the HTML code for
when visible.
*
Here it is when hidden.
*
How do you check the 'visibility' parameter of 's
14 matches
Mail list logo