1.

How To Write Regular Expression In Testng.xml File To Search @test Methods Containing “smoke” Keyword.?

Answer»

Regular EXPRESSION to find @TEST methods CONTAINING keyword “smoke” is as mentioned below.

  1. <methods>
  2. <include name=".*smoke.*"/>
  3. </methods>

Regular expression to find @Test methods containing keyword “smoke” is as mentioned below.



Discussion

No Comment Found