Group remote RemoteWebDriver tests
In Quantum, running a test against a busy device leads to several attempts to initiate a driver, which creates several RemoteWebDriver tests. You can group these RemoteWebDriver tests to classify and unmask them by adding a default name to the tests. When passing the scriptName
capability, this should work as a default. The scriptName
value is then used instead of RemoteWebDriver.
To group RemoteWebDriver tests:
-
Use the following code in the TestNG parameter or in the
application.property
file to add the script name as a capability:Copy<parameter name="driver.capabilities.scriptName" value="Device In Use"></parameter>
This creates a static default script name instead of the RemoteWebDriver name.
-
Repeat this step for all CI jobs with a unique value as a script name.
See also