Skip to content

vicsz/testng-selenium-gradle-example

Repository files navigation

#Instructions

Quick Start

  1. Ensure current JDK is installed (nothing else is required -- other dependencies will automatically download )
  2. To run tests with Chrome run: ./gradlew
  3. To tun tests with PhatomJS(Headless) run: ./gradlew testPhantomJs

Notes

When running from Gradle -- the build script will automatically try to download required OS specific drivers for Chrome or PhatomJS, and update requirement environment variables -- phantomjs.binary.path or webdriver.chrome.driver

When running from an IDE -- you will need these environment variables setup and pointing to the correct webdriver

Example for running individual tests from the commandline: gradle testPhantomJs -Dtest.single=TestNgExample

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages