'Can I set the value of test element's name attribute in dynamic way? not static
I want to set the value of name element in testng.xml in dynamic way.
See below.
<test thread-count="5" name="${browser}">
<parameter name="browser" value="${browser}"/>
The command line comes with this option -Dbrowser=firefox.
This above testng.xml code works fine in the parameter element but test element. See the test result in Allure report.
What I want is to have Allure report displays testname with browser.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

