I have completed the following scenarios using BDD approach(Cucumber tool).
1st Scenario
- Go to https://www.flipkart.com/
- Search for any item (e.g : “vu tv”)
- Click on the First Item in the list.
- Print Price of the Item.
- Add to cart in guest mode.
- Go to Cart Page.
- Increase Quantity by 1.
- Print the Price after addition of Quantity.
2nd Scenario(make sure item you are searching is available on Amazon)
- Go to https://www.flipkart.com/
- Search for any item (e.g : “VU TV”)
- Click on the First Item in the list.
- Print Price of the Item.
- Add to cart in guest mode.
- Print the Price.
- Go to https://www.amazon.in/
- Search for any Item (e.g.”VU TV”)
- Click on the exact Item as in Flipkart.
- Print the Price.
- Add to cart(in guest Mode).
- Go to Cart.
- Print the Price.
- Compare both the Prices.
- Print which site is giving Cheaper rates.