Hi,
One more question related to this html.
How do I distinguish between the two Add buttons?
Thanks,
Manish
Manish Sapariya wrote:
Hi,
Here is one more html.
--
$ie.frame(mainFrame).table(:id, /tblMain/i).cells.each { |l|
if l.text_field(:name, hostName).exists? then
Hi All!!
I am New to Watir. But very comfortable with this tool. I
have basic level of understanding Watir and Ruby.
The problem is I have lot of information about Ruby. But
less information about Watir. Can anybody help me in getting lot more
information about Watir from the basic
I have a problem with assertions.
If I write this:
require 'watir'
require 'test/unit'
class TC_1 Test::Unit::TestCase
def test_1
ie = Watir::IE.new
ie.goto('http://wtr.rubyforge.org/')
if assert(ie.contains_text(Watir))
p 'pass'
else
p 'fail'
end
Take a look at these:http://openqa.org/watir/ (new home page)http://wtr.rubyforge.org/ (old home page)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I am New to Watir. But very comfortable with this tool. I have basic level
of understanding Watir and Ruby.
The problem is I have lot of information about Ruby. But less information
about Watir. Can anybody help me in getting lot more information about Watir
from the basic level to higher
Try to changeif assert(ie.contains_text(Watir))toif ie.contains_text(Watir)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
You are referencing a buggy version of our documentation. Please see http://wtr.rubyforge.org/watir_user_guide.htmlcontains_text is in our API documentation.
http://wtr.rubyforge.org/rdoc/classes/Watir/IE.htmlBretOn 6/12/06, Adrian Rutter
[EMAIL PROTECTED] wrote:I have a problem with assertions.
Brett wrote
You are referencing a buggy version of our documentation. Please see
http://wtr.rubyforge.org/watir_user_guide.html
But if the text is not found,
e.g.
require 'watir'
require 'test/unit'
class TC_1 Test::Unit::TestCase
def test_1
ie = Watir::IE.new
Chris, Bret,it took me a few days, but now I can send, receive and parse e-mails. I have tried several solutions and ended with these:- receive e-mail - Net::POP3 (
http://www.ruby-doc.org/stdlib/libdoc/net/pop/rdoc/index.html)- send e-mail - Net::SMTP (
Thanks for the report!
I've only spiked a little of this, but I found Net::SMTP to be really
easy and intuitive. There are a couple of mildly contradictory docs
out on the web, though, so check around-- the easiest-looking way is
probably the best way.
I'll definitely be giving TMail a look.
Charley
That's because you're swallowing the exception in your rescue clause. You
want it to be raised and caught by Test::Unit so that it can see it for
reporting. You need to either get rid of the rescue and ensure blocks or
rethrow the exception (in which case you might want to wrap the
sorry about the last header
Charley
That's because you're swallowing the exception in your rescue clause. You
want it to be raised and caught by Test::Unit so that it can see it for
reporting. You need to either get rid of the rescue and ensure blocks or
rethrow the exception (in which case
I have seen significant slowness running my scripts (1.4.1
and 1.5.1) from inside Komodo 3.5 compared to the same scripts inside EclipseEclipse
is much faster.
Pouncer Note: I only run them inside the IDE when
writing and/or debugging and NOT during actual testing. Just in case you
were
So, i think everyone can at least agree that it would be nice to have a method on Watir elements that would not return until the element appeared on a page. E.g.: ie.button(:value, OK).dont_return_until_this_element_exists
This would be analogous to the existing ie.wait method, except that that
14 matches
Mail list logo