Advertisement
TikhomirovSergey

Untitled

Sep 3rd, 2013
2,214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.63 KB | None | 0 0
  1.   @Test(description = "Я гарантирую, что он выполнится под Safari")
  2.   public void test3() throws Exception{
  3.       Configuration configuration = Configuration.get("testsettings.xml");
  4.       Google google = Google.getNew(configuration);
  5.       google.performSearch("It is just another attempt to search for something ");
  6.       //ну, у меня отображается 10 ссылок
  7.       Assert.assertEquals(10, google.getLinkCount());
  8.       google.clickOn(0);
  9.       AnyPage anyPage =  google.get(AnyPage.class, 1);
  10.       anyPage.close();
  11.      
  12.       google.performSearch("It is just another attempt to search for something");
  13.    }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement