From: Arti Singh Date: 2009-10-27T02:50:00+09:00 Subject: Gui Unit testing with Ruby I am unable to access the methods defined in Selenium::Client::Idiomatic under my unit tests which are a child of Test::Unit::TestCase $browser=Selenium::SeleniumDriver.new("localhost", 4444, "*chrome", $url , 10000); Before I added tests into the Test::Unit::TestCase, I had been able to use the $browser variable defined above to access all the methods under the class Selenium. Every time I try to run the unit tests, the tests fail at $browser.element?(xpath to element location)with the error NoMethodError: undefined method `element?' for # I have no idea how to access the methods in the Selenium::Client::Idiomatic or the other classes because without adding CrudDContent as a child of Test::Unit::TestCase the entire suite runs class CrudDContent