Forum Discussion
ebodien
13 years agoContributor
If you're running the tests using TestComplete's test items for a project you could read in the current test using the following:
myTest = Split(Project.TestItems.Current.ElementToBeRun.Caption, " - ")(1)
myTest = Split(Project.TestItems.Current.ElementToBeRun.Caption, " - ")(1)