Hi All,
I am using the below given code in ruby but getting a runtime error.
require 'test/unit'
require 'watir'
require 'tk'
require 'date'
include Watir
class Home_Page < Test::Unit::TestCase
def test_Page
Tk.restart
end
end
Below given the error that i am getting :
# Running tests:
E
Finished tests in 0.218750s, 4.5714 tests/s, 0.0000 assertions/s.
1) Error:
test_Page(Home_Page):
RuntimeError:
Test1.rb:13:in `test_Page'
1 tests, 0 assertions, 0 failures, 1 errors, 0 skips
>Exit code: 1
Please help,
Thanks and Regards,
Aakash
--
Posted via http://www.ruby-forum.com/.