I'm trying to find out ways to run the test groups thru a piece of code rather than running it by clicking 'Run Focused Item' icon.
Based on some conditions, I'd want to run only some Test groups.
For sample, Here's the screenshot of the Test Groups.
This link may be useful:
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
What you could try is command line utility in test complete.
Though it seems bit complex at beginning once you prepare one line correctly, you could do bend it for many situation.
But when you decide which test to run at run time, you have to write code for it.
You can call each script in that main driver script or use project Item run method.