Skip to content

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

Notifications You must be signed in to change notification settings

Ritesh-Yadav/webdriver-analytics-testing-framework

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages