Changes

Jump to: navigation, search

Selenium automation suite for www.provokesolutions.com

102 bytes removed, 02:38, 28 November 2016
no edit summary
I wanted to have a practice at writing a Selenium WebDriver automation suite using java and JUnit to test[[Curriculum_Vitae_-_Vincent_Dirks#New_things_I. I decided 27m_learning_and_trying_out|<< return to automate the menu functionality on the web main page www.provokesolutions.com. ]]
I created wanted to have a practice at writing a Selenium WebDriver automation suite using java '''page object''' and JUnit to implement all the page specific aspects and then a seperate '''test object''' . I decided to run through a series automate the menu functionality of testswww.provokesolutions.com.
HereI created a java '''page object'''s to implement all the page specific aspects and then a [https://youtu.be/4sWtshokJYM YouTube] clip of seperate '''test object''' to run through the test executionchecks.
<syntaxhighlight lang="java" line>Here's a '''[https:/** * */package MyTestSuite;youtu.be/4sWtshokJYM YouTube]''' clip of the test execution.
import static orgAnd you can have a look at my code (I would love some feedback from a dev, I'm rather new to writing code) <br/>[http://dirksonline.junitnet/SeleniumFun/ProvokeTestSuite/SKC_OLE_Scraper/src/test/java/MyTestSuite/ProvokeHomePage.Assertjava ProvokeHomePage.*; import java.util.concurrent.TimeUnit;] (page object) <br/> import org[http://dirksonline.junitnet/SeleniumFun/ProvokeTestSuite/SKC_OLE_Scraper/src/test/java/MyTestSuite/ProvokeHomePage.After;import orgjava TestProvokeHomePage.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; }java] (test object) <br/syntaxhighlight>
Staff
470
edits

Navigation menu