June 2017
Intermediate to advanced
256 pages
5h 38m
English
Let's implement the preceding scenario. The first step to launch a quicker app is already automated, so let's figure out the dependency for the following step:
And I choose "Bangalore" as my city
So, when you use the Inspector, you will notice that all the preceding elements have an ID, which can be easily used.
Here's the implementation for the same. We can create these methods in the HomePageSteps class file. To ensure that the click action has the element visible, we have used Thread.sleep(). We will refactor the same in a later chapter to use WebDriver wait:
@And("^I choose ...Read now
Unlock full access