I have around 1500+ test cases, all these test cases run by filters based on the command line parameters. each test case has a module, environment, release version. Based on the command line parameters test cases will get filtered with what module we are running based on the module, environment, and release.
I'm achieving this using ADODB query where I can form a where clause by these values. I believe this situation can't be handled dynamically using the TestItem. If there is a way please suggest.
We do something similar where at run time we determine what projects and test items to run based of Jira issue statuses. We use powershell scripts to build a list of projects and the test items in the project we need to run, then use powershell's XML parser to enable or disable the test items before opening the project.
All of our environment info is stored as JSON in text files that read in by test complete's on start test event handler.
Click the Accept as Solution button if my answer has helped