Skip to content

engsaw/audibene-test-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Internet World Test Assignment

General Information & Project structure

Tests are separated as per feature & nature (UI & API tests) , for each test there is a test class, the test class is calling functions from a page object model class and some other utility classes to achieve a better organisation and code reusability.

Execution options can be adjusted inside a Configuration class, which should handle all the global properties for the project.

Reports are generated using "allure" which provides a detailed reporting system, this include adding screenshots and log files to the test execution record.

Environment Setup

Dependancies

Install maven from here

Install allure reporting generation tool from here

Install JDK

Close the repo

$ gh repo clone engsaw/audibene-test-assignment

Configuration

Test can be executed on chrome driver or on docker, to switch between both the following property in Configuration class needs to be set

String RUNNING_OPTION = "LOCAL.MAC"; 

OR

String RUNNING_OPTION = "DOCKER.CHROME";

Test Execution

Run the tests

$ mvn clean test

Test_Execution_Internet_Challenge

Generate allure reports

$ allure serve allure-result/ Allure Report

Using docker to run

install docker from here

Pull the following docker images:

selenium/hub

$ docker pull selenium/hub

Image for running Grid Hub selenium/node-chrome

$ docker pull selenium/node-chrome

Grid Node with Chrome installed, selenium/node-firefox

$ docker pull selenium/node-firefox

Set up infrastructure using docker-compose

$ docker-compose -f docker-compose.yml up -d

docker_Run1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages