search for: verification_errors

Displaying 2 results from an estimated 2 matches for "verification_errors".

2010 Feb 25
0
SocketError: getaddrinfo: Name or service not known --> error while running test case
...ium-client-1.2.18/lib/ selenium/client/base.rb:99:in `start'' test1.rb:27:in `setup'' The code am using for connection is: require "rubygems" require "selenium/client" require "test/unit" class Test1 < Test::Unit::TestCase def setup @verification_errors = [] @selenium = Selenium::Client::Driver.new \ :host => "http://127.0.0.1", :port => 4444, :browser => "*firefox", :url => "http://www.google.com/", :timeout_in_second =>60 #start browser session...
2012 Feb 14
0
undefined method `assert' error appears while running the code
...loseButton" @selenium.click "css=#lnkLogin > span" @selenium.click "//button[@id='''']" begin assert @selenium.is_text_present("* Please provide your email address") rescue Test::Unit::AssertionFailedError @verification_errors << $! end I am getting following error while running the code: undefined method `assert'' for #<Object:0x298f9e8> (NoMethodError) Please help me to resolve this issue or tell me any other commands for that. Thanks in advance. Attachments: http://www.ruby-forum.com/at...