Automation Task-2022 by Brain Station 23
Website URL: http://automationpractice.com/index.php
Automated the website by using Selenium, TestNG, and Page Object Model.
Automation at a glance: https://www.youtube.com/watch?v=RGgCE1A5Q2Q
- Test tool: Selenium
- Language: Java
- Architecture: POM
- Framework: TestNG
- IDE: IntelliJ
- Web Driver: ChromeDriver
- Open/install Java JDK 8 version on your PC
- Install Maven on your PC
- Install TestNG on your IDE
- Install Eclipse/IntelliJ or any other IDE
- Setup Java, Maven environment on your PC
- Add TestNG jar file in your project. (Go to File->Project Structure->Modules->Dependencies-add jar file->select and apply)
- Right Click to Project
- Then select Run as TestNG
- Open the Chrome browser.
- Go to Automation Practice Web Site.
- Maximize the browser window.
- Click on Sign In Button.
- Provide an Email address and click on create an Account button.
- Provide New User's All Information.
- Click Register button and create a new user.
- Click on Sign Out.
- Click on Sign In Button.
- Provide an Email & Password and click on Sign In button.
- Hover Dresses Button and Click on Casual Dresses.
- Scroll to Product and Hover on the Product and Click on Add To Cart Button.
- Click on continue Shopping Button From Cart details Window.
- Scroll up from Casual Dress page and Click on T-Shirts Button.
- Filter Blue Color from CATALOG-Color section.
- Scroll to Product and Hover on the Product and Click on add To Cart Button.
- Click on Proceed To Checkout Button From Cart details window.
- Review Cart Summary and click on Proceed To Checkout button Again.
- Review Address and then click on Proceed To Checkout button again.
- Review Shipping details and checked Terms of service then click on Proceed To Checkout button again.
- Scroll to Payment option and click on Pay By check.
- Click on confirm My Order Button to complete the checkout process
- Click on Sign Out Button