Skip to content

st-raga/technical-assessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Technical Assessment

This project uses Java, Selenium, TestNG, and Maven to implement a set of tests, organized using the Page Object Model (POM).

Project Structure

The project is structured as follows:

  • src/test/java/pages: Contains the page objects and methods for each page, such as the QE-index page in this case.

  • src/test/java/tests: Contains the test classes.

Each test class implements one test of the challenge.

What do you need to run the project?

Option 1: Using an IDE

  1. Java Software Development Kit (SDK)
$ java --version
  1. An IDE such as Eclipse
  1. TestNG for Eclipse

    To install it:

  • Open Eclipse.
  • Go to Help -> Eclipse Marketplace on the menu bar.
  • Search for "TestNG".
  • Select "TestNG for Eclipse".
  • Click "Install", confirm, and wait for installation to complete.
  • Restart Eclipse.
  1. Clone the project from GitHub:
$ git clone https://github.com/st-raga/technical-assessment.git
  1. Import the project as an existing Maven Project to Eclipse

  2. Run testng.xml

  • Open the testng.xml file in Eclipse
  • Right-click on the file and select Run As > TestNG Suite
  • This will execute all the tests defined in the testng.xml file using Chrome

Option 2: Using Command Line

  1. Java Software Development Kit (SDK)
$ java --version
  1. Maven
$ mvn --version
  1. Clone the project from GitHub:
$ git clone https://github.com/st-raga/technical-assessment.git
  1. Navigate to the project directory
$ cd technical-assessment
  1. Compile the project
$ mvn clean compile
  1. Run the following command to execute the testng.xml file:
$ mvn test -DsuiteXmlFile=testng.xml
  • This will execute all the tests defined in the testng.xml file using Chrome

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published