I will explain my scenario with the help of shopping application. I will take 3 scenarios
- Adding item to cart
- Adding items to wish list
- Buying the product
I have created three scenarios in 3 different test. I will provide the data from the .csv file
This is how my csv file looks.
I will add 3 test into one job and execute it.
Actual - When i try to execute it mobile will added to cart, dress will added to cart later earphones will added to cart and Laptop will added to Wishlist goes on…
Expected - Mobile should add to cart, Laptop should add to wishlist , Charger should be buy in one go, Later it should pick up for next line items.
How can we achieve this using Test project? Please give us solution to this constraints.
Thanks in Advance