Forum Discussion
dganov
Staff
13 years agoAs I know you cannot execute specific keywords from TestComplete command line.
You should create a project with keyword test and run it like this:
"C:\Program Files\SmartBear\TestComplete 9\Bin\TestComplete.exe" "C:\Work\My Projects\MySuite.pjs" /r /p:MyProj /t:"KeywordTests|Test1"
where first parameter is the path to project suite, /r - run the test identified by the following parameters /p (project name) and /t (test name).
See details here: http://support.smartbear.com/viewarticle/33353/
You should create a project with keyword test and run it like this:
"C:\Program Files\SmartBear\TestComplete 9\Bin\TestComplete.exe" "C:\Work\My Projects\MySuite.pjs" /r /p:MyProj /t:"KeywordTests|Test1"
where first parameter is the path to project suite, /r - run the test identified by the following parameters /p (project name) and /t (test name).
See details here: http://support.smartbear.com/viewarticle/33353/