I want to fetch all the class names for running my automation test using HyperExecute from the testng.xml file. What grep command should I use?
Hi Alex Walker,
You can use the below command to grep all class names from the testng.xml file:
grep -o 'class name=".*"' testng.xml | awk -F'"' '{print $2}'