Created
December 21, 2015 17:18
-
-
Save tjmaher/a5c34b957c2f2135000e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class PurchaseOrderTest { | |
| public WebDriver driver; | |
| @BeforeClass | |
| public void setUp(){ | |
| driver = new FirefoxDriver(); | |
| } | |
| @Test(priority = 1) | |
| public void navigateToAmazon(){ | |
| driver.get("http://www.amazon.com"); | |
| } | |
| @AfterClass | |
| public void tearDown(){ | |
| driver.quit(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment