Skip to content

Running Tests from IDE

Krishnanand B edited this page May 31, 2020 · 1 revision

This framework managers driver lifecycle as a listener, thus you cannot directly run from IDE (assuming you are using IntelliJ) unless you modify configuration as below.

Step 1: Setup base configuration

TestNG Configuration

Step 2: Add below listeners to base configuration

  • io.headspin.hackathon.listeners.SiteListener
  • io.headspin.hackathon.listeners.DriverListener
  • io.headspin.hackathon.listeners.ReportListener

Step3: You can now run the tests from IDE

Clone this wiki locally