Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package FirstTask.FirstTask;
- import java.util.concurrent.TimeUnit;
- import org.junit.Before;
- import org.junit.Test;
- import org.openqa.selenium.firefox.FirefoxDriver;
- public class DroobleExamples {
- public static FirefoxDriver driver;
- private StringBuffer verificationErrors = new StringBuffer();
- private ObjectMap map;
- @Before
- public static void setUp(){
- driver = new FirefoxDriver();
- driver.manage().window().maximize();
- driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
- driver.get("https://drooble.com/?variant=8&utm_expid=94397914-0.u3QbFvddQ3irR1q_Qo4sHA.2&utm_referrer=https%3A%2F%2Fdrooble.com%2Four-mission");
- }
- @Test
- public static void homePageDrooble(){
- try{
- map = new Object("D:\\New folder\\FirstTask\\src\\test\\java\\FirstTask\\FirstTask\\objectmapstwo.properties");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement