Skip to content

olenakhom/virtual-solution-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding challenge

The task is to use the Base base class and to use the WebDriver object to search for "Active sync" using Selenium
in Google. Then the first link should be clicked. Focus should be on scalability and coding style.

Instruments were used

  1. Java
  2. Maven
  3. Selenium WebDriver
  4. TestNg
  5. Allure

Required installation

  1. Java 8
  2. IntelliJ IDEA Community Edition
  3. Allure commandline for generation test report

IntelliJ IDEA settings

  1. Open File --> New --> Project from Version control --> Git
  2. Clone from repository URL https://github.com/olenakhom/freeletics-technical-assignment.git
  3. Open File --> Project Structure --> Project
  4. Select java version 1.8 from Project SDK dropdown
  5. Select 8-Lambdas, annotations from Project language level dropdown
  6. Open File --> Project Structure --> Modules
  7. Select 8-Lambdas, annotations Language level on Source tab

Test Execution

Run tests from command line (maven installation is required)

mvn clean -U -DtestngFile=test-suite.xml -DpropFile=application.properties test

or run tests from embedded maven command line from IntelliJ IDEA (Execute Maven Goal button)

clean -U -DtestngFile=test-suite.xml -DpropFile=application.properties test

Allure test report generation

This is already enough to see the Allure report in one command:

allure serve /home/path/to/project/allure-results

If report generated successfully, report page should be opened automatically in browser: Allure Report

About

Coding challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages