Forum Discussion

soda's avatar
soda
Contributor
14 years ago

Any Way To Display Current Testcase Name While Executing Test Suite?

While test cases are executing, in the upper right side of the screen, the TestComplete agent displays what objects it is waiting for and the fact that it is playing back tests.  Is there a way to also display what test case is actually being executed?

Thanks,

Mark
  • irina_lukina's avatar
    irina_lukina
    Super Contributor

    Hi Mark,


    To obtain the name of the test item that is currently executed, you can use the following code:



    Project.TestItems.Current.Name


    To push this text to the TestComplete indicator, you can use the Indicator.PushText method.


    I hope this helps :)