Selenium automation suite for www.provokesolutions.com
I wanted to have a practice at writing a Selenium WebDriver automation suite using java and JUnit to test. I decided to automate the menu functionality on the web page www.provokesolutions.com.
I created a java page object to implement all the page specific aspects and then a seperate test object to run through a series of tests.
Here's a YouTube clip of the test execution.
/**
*
*/
package MyTestSuite;
import static org.junit.Assert.*;
import java.util.concurrent.TimeUnit;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class TestProvokeHomePage {
private static final int DEMO_DELAY = 100;
private static final int IMPLICIT_TIMEOUT = 10;
private static WebDriver driver;
private static long startMillis;
private static ProvokeHomePage homePage;
}