automation - How can we write a BDD scenario fr complex flow -


how can write bdd scenario fr complex flow.

****for example:**** want write scenario creating new user registration wifi connection.

it 1 scenario ask customer details, product details , payment details, account details , @ end creating new account customer. how can write scenario test 1 scenario. can write separate scenario each module, combining modules , cover 1 flow needed. please me on this.

there can other scenarios premium user, guest user, full flow 1 part.

have tried cucumber?

you can like

feature: check user registered wifi   scenario: registration     given:     when:     then: account created 

and above steps need create java step file contain step definition.

@then("^account created$")  public void accountcreated(){  //do validation } 

Comments

Popular posts from this blog

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -