package com.thoughtworks.selenium.corebased;
import com.thoughtworks.selenium.*;
/**
 * @author XlateHtmlSeleneseToJava
 * Generated from E:\buildroot\Dev\selenium-rc_svn\trunk\rc\clients\java\target\selenium-server\tests/TestFailingAssert.html.
 */
public class TestFailingAssert extends SeleneseTestCase
{
   public void testFailingAssert() throws Throwable {
		selenium.setContext("Test Failing Assert", "info");

/* Test Failing Assert */
		// open|../tests/html/test_verifications.html|
		selenium.open("../tests/html/test_verifications.html");

		boolean sawThrow4 = false;
		try {
					// assertValue|theText|not the text value
		assertEquals("not the text value", selenium.getValue("theText"));
		}
		catch (Throwable e) {
			sawThrow4 = true;
		}
		assertTrue(sawThrow4);
		

		boolean sawThrow6 = false;
		try {
					// assertNotValue|theText|the text value
		assertNotEquals("the text value", selenium.getValue("theText"));
		}
		catch (Throwable e) {
			sawThrow6 = true;
		}
		assertTrue(sawThrow6);
		

		checkForVerificationErrors();
	}
}
