Changes

Jump to: navigation, search

Selenium automation suite for www.provokesolutions.com

770 bytes added, 00:16, 8 November 2016
no edit summary
I made wanted to have a selenium 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 [https://youtu.be/4sWtshokJYM YouTube] clip of the test execution.  <syntaxhighlight lang="java" line>/** * */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; }</syntaxhighlight>
Staff
470
edits

Navigation menu