...
If a user wants to execute some list of tests which are in the same folder but don't want to modify the web_config.xml.
...
Step 1: Create Create a new XML file in in config directory directory (like like MyTest_config.xml ) and paste paste web_config.xml code code in that XML file.
Step 2 : Update the value path Update the value path of parameter tag up to that particular folder location like :
<parameter name="scenario.file.loc" value="scenarios/web/myFolder"></parameter>
...
Step 3: Add Add this XML file name(MyTest_config.xml) in in pom.xml in in place of web_config.xml name at at testSuiteFile tag tag to make it executable.
Scenario 2:
If a user wants to execute some specific list of tests from different-different folders but doesn't want to modify the web_config.xml for this change.
Step 1: update groups tag update groups tag (like RUN1) in in META-DATA option option of each each SCENARIO which which you want to execute
Step 2: Create Create a new XML file in config directory (like:group_config.xml) and paste web_config.xml code in that XML file.
...
Step 3: Add a groups tag inside test tag where our Add a groups tag inside test tag where our group name (Run1) will be defined inside inside include tag tag like :
...
Step 4: Add Add this XML file name(MyTest_config.xml) in in pom.xml in in place of web_config.xml name at at testSuiteFile tag tag to make it executable.
Scenario 3:
If a user simply wants to select some test case to execute and the rest of them should not be executed.
...