Printer FriendlyEmail Article Link

iTest: How to configure batch file in order to execute more than one itestcli commands sequentially.

Environment/Versions
  •  iTest 4.3
Answer

We could use following syntax in batch file to run itestcli commands sequentially.

 
Example: file.bat
 
cmd /c itestcli -w C:\Users\paxterra\workspace123 -b project://my_project/topologies/new.tbml -P project://my_project/test_suites/parameters.ffpt project://my_project/test_cases/web.fftc 
project://my_project/test_cases/tcl.fftc project://my_project/test_cases/cmd.fftc 
 
cmd /c  itestcli -w C:\Users\paxterra\workspace123 -b project://my_project/topologies/topology.tbml -P project://my_project/test_suites/parameters.ffpt project://my_project/test_cases/new_testcase6.fftc project://my_project/test_cases/new_testcase7.fftc 
 
In above sample I am executing three testcases(web,tcl,cmd) with topology file new.tbml and two test cases with topology.tbml file sequentially.
 
 
 
 

 


Product : iTest Enterprise