Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98792

How to parameterise method name in TestNG xml file?

$
0
0

Below is the testng.xml code. here I have test name Test1 and I want to include all the scenarios starting with regression tag (tag is present in cucumber feature file).

I want to parameterise "regression.*" value and want to pass as an argument at run time (Runas testng).

<

test name="Test1">
  <groups>
    <run>
      <include name="regression.*"/>
    </run>
  </groups>

Can somebody help me with this scenario.

Thanks in advance.....


Viewing all articles
Browse latest Browse all 98792

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>