Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 2.01 KB

README.md

File metadata and controls

52 lines (38 loc) · 2.01 KB

Quality Assurance Integral Project

This project presents automated regression tests for a technical test written in JAVA using Maven and the following dependencies:

  • Selenium webdriver
  • webdrivermanager
  • TestNG

Architecture of the project

This project has implemented the screenplay pattern

Run the project by Eclipse IDE

To run this project you need to follow the next steps

  • You could import the TestNG library into the project (optional)
  • You must update the Maven project
  • You could run the project as TestNG Suite running the testng.xml file
  • You could run the project as Maven running the whole project as a Maven test.

Run the project by command line

To run this project you need to follow the next steps

  • Clone this repository
  • Open a terminal into the project
  • run the command line below
mvn dependency:resolve
mvn dependency:resolve-plugins
mvn clean install

Configurate the TestNg library into Ecllipse IDE

  1. Locate the ‘Help’ option on the menu bar and click it.
  2. Select the option ‘Install New Software’.
  3. Click the ‘Add’ button on the appeared installation box.
  4. You will see an ‘Add Repository’ dialog box, where you need to provide the Name and Location.
  5. Type ‘TestNG’ in the Name field and ‘http://beust.com/eclipse’ in the Location field.
  6. Click ‘OK’ button.
  7. The given URL will be populated on the “Work with” field.
  8. Check the box next to TestNG and click ‘Next’
  9. Keep clicking ‘Next’ until you reach a License Agreement dialog box.
  10. Accept the license agreement and click ‘Finish’.
  11. This will begin the installation process. Wait until it gets finished.
  12. In case you get a security warning pop-up, click OK. Else, skip this step.
  13. You will get a ‘Software Updates’ dialog box prompting you to restart Eclipse. Click ‘Yes’.
  14. Once your Eclipse has been restarted, you can see TestNG has been successfully installed. For this, click Window->Preferences and you can see TestNG included in the list.