Forum Discussion
Dmitry_Nikolaev
Staff
14 years agoHello Charles,
We have no time frames for the feature implementation. However, your request has increased the suggestion's rating. Thank you.
You can enable and run the needed test items or test item groups from an external *.js file via COM. Below are the contents of such a file:
var tc = new ActiveXObject("TestComplete.TestCompleteApplication.8");
tc.Visible = true;
var tci = tc.Integration;
tci.OpenProjectSuite("C:\\TestComplete 8 Projects\\TestProject1\\TestProject1.pjs");
ProjectTestItems = tci.TestSuite("TestProject1");
Group = ProjectTestItems.TestItem(0);
Group.Enabled = true;
tci.RunProjectTestItem("TestProject1", Group.Name);
while(tci.IsRunning())
WScript.Sleep(100);
tc.Quit();
For more information, refer to the "Working With TestComplete via COM - Overview" article and those related.