Ritesh-Yadav / webdriver-analytics-testing-framework

This framework is created to test analytics while testing normal user journeys. You can use this framework to test any network related traffic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webdriver Analytics Testing Framework

Tech Stack

  • Selenuim Webdriver
  • JUnit 5
  • ExtentReports
  • Gson
  • Gradle

Running Tests

Note: If you run test from commandline it will automatically download drivers for you in projectDir/webdriver folder.

Firefox:

  • Commandline ./gradlew -Denv=SIT firefoxTest
  • If you want to run test from an IDE, you have to set environment variable manually -Denv=PROD -Dwebdriver.gecko.driver=./webdriver/PATH/TO/geckodriver -Dbrowser=firefox

Chrome:

  • ./gradlew -Denv=SIT chromeTest
  • If you want to run test from an IDE, you have to set environment variable manually -Denv=PROD -Dwebdriver.chrome.driver=./webdriver/PATH/TO/chromedriver -Dbrowser=chrome

Different Environment: SIT, STAGING, PROD

Reports

After execution reports will be available in projectDir/build/reports

About

This framework is created to test analytics while testing normal user journeys. You can use this framework to test any network related traffic.


Languages

Language:Java 100.0%