Displaying 1 result from an estimated 1 matches for "lnklogin".
Did you mean:
liblogin
2012 Feb 14
0
undefined method `assert' error appears while running the code
Hi,
I am new to ruby and I am using ruby with selenium. I want to apply some
validations for login section.
Following is the code on which I am getting error.
@selenium.click "id=loginCloseButton"
@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...