Running Examples in Local

  • Download the zip or clone the Git repository.
  • Unzip the zip file (if you downloaded one).
  • Open Command Prompt and Change directory (cd) to folder containing pom.xml(enter below mvn command)
  • mvn clean test -Ptest
  • Open Eclipse
    • File -> Import -> Existing Maven Project -> Navigate to the folder where you unzipped the zip
    • Select the right project
  • Right Click uitest.xml file and Run as Java TestNG to Run UI Test
  • Right Click apitest.xml file and Run as Java TestNG to Run API Test

Running Examples using MVN command

  • mvn clean test -Papi

  • mvn clean test -Pui

  • mvn clean test -Papp