Want to control the indicator during a test run
All, I would like to give visual cues to people viewing the automated testing progression of our software. What i would like to do is use the indicator to display the current running test item, as well as "x out of y" number of tests. I know that:
Indicator["PushText"]() displays data on the indicator and PopText and Clear remove the current text in their own ways. I also know that Project.TestItems.Current gets the current TestItem and you can iterate through them all using Project.TestItems
However, how do I do what I am wanting to do? I haven't been able to piece it together yet. So when the project is being ran, I would like the indicator to be updated with the current running test case and the current number out of the total. I am unsure how I would keep these items up without having to insert script in each of my units, which I would like to avoid.
Thanks
Hi,
Somewhere in time there was a similair thread: http://community.smartbear.com/t5/Functional-Web-Testing/get-the-currently-tested-Item-Name/m-p/68549#M8912
The only problem with that approach is that sometimes it is not possible to figure-out where in the test items tree tests execution was started, but this is not critical and otherwise the approach works fine for me.