@Test( description = "Open Google and verify company name is present", groups = {"mobile", "tablet"}) public void testMobileStuff() { GoogleSearchPage searchPage = navigateTo(GoogleSearchPage.class); assertTrue(searchPage.containsGoogle()); }
@Test(description = "Open Google and verify value on the search button") public void testStuff() { GoogleSearchPage searchPage = navigateTo(GoogleSearchPage.class); assertEquals(searchPage.getSearchButtonValue(), "Google Search"); }