Autotest Agent
To use Drill Test2Code plugin with autotests (RESTful API and Selenium-based UI *) add a special autotest agent to your test automation framework.
Supported test runners:
● junit4
● junit5
● testNG
● cucumber
#
GradleAdd the following lines to your project settings.gradle:
Add the following lines to your project build.gradle:
#
MavenAdd the following lines to your project POM:
For Surefire plugin add args to the main properties block:
and add to Surefire plugin:
or set Drill profile:
run it:
#
NotesIf you use the remote setup for UI autotests run (Selenium GRID, SELENOID and etc.), you need to deploy proxy service:
and add additional param browserProxyAddress to autotests agent config:
Gradle
Maven