Skip to content
Web automation : Convert your pages to POM and finally to BDD
Java Gherkin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.



alt text

Pages in Mind Map. Tick means cover in high level in scenario. URL for demo automation video (13 min duration)

Part 1 video : Page convert to POM

Part 2 video : Converting to BDD

Automation Scenario (in youtube)

Scenario A1
Individual coverage on a multi trip , select quote 3 (premium). Fill in applicant details and make payment in credit card

-Individual Cover Type

  • Multi Trip

  • Select Region 1

  • Select premium quote 3 (most expansive)

  • Fill in Applicant Details (NRIC /DOB / name/ email / mobile) only - Preview Page

  • Select Payment Mode DBS / POSB Credit Card - Fill in Credit Card Details

Scenario A2
Couple on a single trip (UK) , select quote 3 and fill in applicant / second traveller details.
  • Couple Cover Type

  • Single Trip / Destination is United Kingdom

  • Select premium quote 3 (most expansive)

  • Fill in Applicant Details (NRIC /DOB / name/ email / mobile) and fill in for Traveller 2 particular

  • Preview Page

BDD Cucumber


	Scenario:Multiple Trip and Individual
		Given User want to buy travel insurance
		    When User want buy a "multiple" trip type
		    And User want select date "5" "6" for destination
		    And User want select "single" cover type
		    And User is "25" years old
		Then Go to quote page
		When User  select "third" quote
		Then Proceed to fill in Applicant's detail
		When User add NRIC "S0012345B"
		    And User add name "JAMES BROOKE"
		    And User add DOB "01/10/1990"
		    And User add nationality "United Kingdom"
		    And User add email ""
		    And User add mobile "6593334444"
		    Then Proceed to Preview Page
		    Then Proceed to Payment Method
		When User select "credit card" as payment method
		    And User add credit card number details "5264714241222222"
		    And User add name details "JAMES BROOKE"
		    And User add CVV details "123"
		    And User add credit expiry number details "20/20"
		Then Proceed to make payment

Please contact me at

You can’t perform that action at this time.