June 2017
Intermediate to advanced
256 pages
5h 38m
English
The first step is to replace the implementation with the following page class and the method that will perform the verification of the search results on the car search results page. So, we can declare something like this:
@Then("^I should see the first car search result with \"([^\"]*)\"$")public void iShouldSeeTheFirstCarSearchResultWith(String arg0) throws Throwable { new CarResultsPage(appiumDriver).verifySearchResult(searchInput); }
The next step is to implement the CarResultsPage class and the verifySearchResult(String searchInput) method. So, this method will take care of the verification of the result. This is the implementation of the CarResultsPage class:
package pages;import io.appium.java_client.AppiumDriver; ...
Read now
Unlock full access