Advertisement
Atanasov_88

Objectmap-1

Jul 8th, 2016
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. package FirstTask.FirstTask;
  2.  
  3. import java.util.concurrent.TimeUnit;
  4.  
  5. import org.junit.Before;
  6. import org.junit.Test;
  7. import org.openqa.selenium.firefox.FirefoxDriver;
  8.  
  9. public class DroobleExamples {
  10.  
  11. public static FirefoxDriver driver;
  12. private StringBuffer verificationErrors = new StringBuffer();
  13. private ObjectMap map;
  14.  
  15.  
  16. @Before
  17.  
  18. public static void setUp(){
  19.  
  20.  
  21. driver = new FirefoxDriver();
  22. driver.manage().window().maximize();
  23. driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
  24. driver.get("https://drooble.com/?variant=8&utm_expid=94397914-0.u3QbFvddQ3irR1q_Qo4sHA.2&utm_referrer=https%3A%2F%2Fdrooble.com%2Four-mission");
  25. }
  26.  
  27. @Test
  28.  
  29. public static void homePageDrooble(){
  30.  
  31. try{
  32. map = new Object("D:\\New folder\\FirstTask\\src\\test\\java\\FirstTask\\FirstTask\\objectmapstwo.properties");
  33.  
  34. }
  35.  
  36. }
  37.  
  38.  
  39.  
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement