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