anonymous_67424's avatar
anonymous_67424
Occasional Contributor
9 years ago
Status:
New Idea

Add counter number in TestComplete running indicator for ProjectTestItems

When running test in multiple iterations on project level, it is not visible on which iteration number the test is.

 

In my opinion it would be beneficial to implement current iteration number and total iterations number.

 

For example implement counter:

4 / 10 [meaning current iteration is 4, of a total of 10 iterations]

 

Ideally this would be implemented on ProjectTestitems (on all levels) as indicated in screenshot: ProjectTestItem1 has 4 ProjectTestItems under it.

 

 

3 Comments

  • cunderw's avatar
    cunderw
    Community Hero

    This is already supported via scripting.

     

    function test() {
      var  str = Project.TestItems.TestItem(0).Iteration + " / " + Project.TestItems.TestItem(0).Count;
      
      Indicator.PushText(str);
      
    }

     

  • anonymous_67424's avatar
    anonymous_67424
    Occasional Contributor

    Hi cunderw,

     

    thanks for this this suggestion and although this leads to a workable solution I still consider this as a workaround, I'd prefer to use as litle scripting as possible and since TC supports iterations in loops (for. while), I would expect that "live" information on current loop to be visible on the Running indicator.

  • mgroen2's avatar
    mgroen2
    Super Contributor

    Could this be feature be implemented for data driven tests as well?

     

     To be specific: when running a data driven test, during test execution, display the current test execution number of the loop.

     

    Something like in the picture below: