Examples of GoogleSearchResultPage


Examples of test.pageobject_example.pages.GoogleSearchResultPage

        // Enter something to search for
      googleSearchPage.enterSearchForm("Cheese!");

        // Now submit the form, and get the next page object
      GoogleSearchResultPage googleSearchResultPage = googleSearchPage.submitForm();
              

        // Verify: Check the title of the page     
        String pageTitle = googleSearchResultPage.getTitle()
        System.out.println("Page title is: " + pageTitle);
        assertTrue("Got title: " + pageTitle, pageTitle.contains("Cheese!"));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.