In a Selenium RC JUnit test, i have 2 assertTrue elements.
assertTrue("Incorrect element1",selenium.isElementPresent("element1"));
assertTrue("Incorrect element2",selenium.isElementPresent("element2"));
While debugging another problem, i purposely made the xpath to element1 invalid. Sometimes the test fails with the first assertTrue statement (expected), but sometimes it fails with the second one (weird) which means it passed the first assertTrue.
Can anyone guess what's happening?