Forum Discussion
The Executionplan is saved in your {ProjectName}.mds file.
its in xml so you could have Testcomplete count all items and calculate that to a percentage.
Then with Indicator.PushText() you can display it on your screen.
But it sounds like more trouble than its worth.
Hi,
Actually, one can get a number of test items in the project plan via Project.TestItems.ItemCount property. Then one can iterate over project plan, count the number of enabled test items (see code example in the help topic for the Project.TestItems.ItemCount property), convert to percentage and visualize the result via Indicator object as it was suggested by MW_Didata.
The case here (if nothing changed during past several years since the time when I implemented something similar) was that groups in project plan look pretty much as test items and it is not that easy to distinguish group from actual test item. And this resulted in somewhat 'strange and visually unclear' behavior of the tests run progress displayed by the Indicator object.
- ilkoTest11 days agoOccasional Contributor
Thank you, Alex