Hello I am with the following test with selenium, but I'm having to run it an error:
public class TestExemplo extends SeleneseTestNgHelper {
@Test public void testUntitled() throws Exception {
selenium.open("http://gmail.com");
selenium.type("Email", "edipofederle");
selenium.type("Passwd", "pass");
selenium.click("signIn");
selenium.waitForPageToLoad("30000");
assertTrue(selenium.isTextPresent("You are currently"));
}
}
java.lang.AssertionError: null
at com.thoughtworks.selenium.SeleneseTestBase.fail(SeleneseTestBase.java:372)
at com.thoughtworks.selenium.SeleneseTestBase.assertTrue(SeleneseTestBase.java:377)
at com.thoughtworks.selenium.SeleneseTestBase.assertTrue(SeleneseTestBase.java:381)
at com.example.tests.TestExemplo.testUntitled(TestExemplo.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Could someone help me with this? Thanks..