Report generated 28-11-2018 03:16

Amazon Search Feature

As a user I want to search a new
smarthpone called iPhone 6S, see
the first item in the list and then,
add it to the cart.
Amazon mobile phone

Scenario:

Given I am in amazon webpage
When I look for <phone> in the searchBox
Then I see a list of results
And I want to see the <number> item
And I want to add it to the shopping cart
No such session exception: Tried to run command without establishing a connection

org.openqa.selenium.NoSuchSessionException

jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-2)
jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
com.hfc.demo.pageObjects.PgpiHome.waitLoad(AmazonHome.java:23)
com.hfc.demo.serenitySteps.UserSteps.iAmInAmazonWebPage(UserSteps.java:15)
com.hfc.demo.stepDefinitions.GherkinDefinitions.iAmInAmazonWebPage(GherkinDefinitions.java:16)
✽.I am in amazon webpage(src/test/resources/features/example.feature:8)
Serenity BDD version 2.0.12