Skip to content

This project has the example code for an automation testing project for e-commerce website called nope-commerce, project created using Selenium WebDriver Java, TestNG, and Cucumber.

Notifications You must be signed in to change notification settings

Bad-ri/Selenium-nopcommerce-Testing-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Don't forget to give a ⭐ to make the project popular.

❓ What is this Repository about?

This Project requires you to automate and generate a report for a created test plan for an e-commerce application to test all possible test scenarios. It's required to automate a test plan for an e-commerce application to test all possible test scenarios and test cases for the major functionalities of the e-commerce website/app. This E-commerce application has a log-in page w/ username and password with no extra authentication other than the email password.

✨ Scenario covered

  • User could register with valid data
  • User could log in with valid email and password
  • User could reset his/her password successfully
  • Logged User could search for any product
  • Logged User could switch between currencies US-Euro
  • Logged user could select different Categories
  • Logged user could select different tags
  • Logged user could add different products to Shopping cart
  • Logged user could add different products to Wishlist
  • Logged user could add different products to compare list
  • Create successful Order

Running the project

💻 Requirements

- Java 8 or higher.
- Selenium WebDriver.
- TestNG.
- cucumber.
- EdgeDriver.

⚙️ Setup

1 - Clone this repository to your local machine.
2 - nstall the required dependencies using Maven.
3 - Download the latest version of EdgeDriver and place it in the project's root directory.
4 - Open the config.properties file and update the browser property to edge.
5 - Running the Tests

📝 Reporting

The project generates a test report in HTML format. The report can be found in the target/surefire-reports directory after running the tests. Open the index.html file in a web browser to view the report.

🛠️ Contributing

Contributions are welcome! To contribute, please fork this repository, make changes, and submit a pull request.

About

This project has the example code for an automation testing project for e-commerce website called nope-commerce, project created using Selenium WebDriver Java, TestNG, and Cucumber.

Topics

Resources

Stars

Watchers

Forks