Skip to content

Running Tests from IDE

Krishnanand B edited this page Jan 11, 2021 · 2 revisions

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

Step 1: Setup base configuration

TestNG Configuration

Step 2: Add below listeners to base configuration

  • com.testvagrant.tvu.amazonshopping.listeners.SiteListener
  • com.testvagrant.tvu.amazonshopping.listeners.DriverListener
  • com.testvagrant.tvu.amazonshopping.listeners.ReportListener

Step3: Run tests from IDE

Clone this wiki locally