Creating four user flow scenarios and creating tests for each one.
- All four scenarios tested
- Extent Reporting
- POM implemented
- Junit/TestNG
- Automated Cross Browser Testing
1 User browsing products and purchasing one
- Load homepage
- Navigate to product page
- View multiple products (Load up each product page)
- Add one product to basket
- Proceed to checkout and pay for product
2 User logging into website and viewing account page(s)
- Load homepage
- Navigate to login page
- Enter details
- Navigate to account page
- Logout
3 User signing up for newsletter
- Load homepage
- Find newsletter input on page
- Enter email address
- Click submit
4 User contacts Webmaster though contact form
- Load homepage
- Navigate to contact page
- Select Webmaster from dropdown list
- Click on email input
- Input email address
- Click order reference
- Input order reference
- Click message
- Type message