Forum Discussion
agabriel
12 years agoContributor
Using TestComplete 9.10 I created a Userform with a status bar that is updated as the tests are performed.
It is event driven, and posts the same messages that go into the log, to the the appropriate window (I only have 2 for now since I only care about errors). As well, I keep a running count of the events as temporary project suite variables. The entire thing is updated all at once using a single function to stick it all together.
The tests running out of overall number of tests, is precalculated using a separate function and the status bar is just a reflection of that (#of test /100).
The CPU and Memory meters are event driven as well which is good enough for now...9.20 apparently has some additional things to tap into that could make those a little nicer :)
It is event driven, and posts the same messages that go into the log, to the the appropriate window (I only have 2 for now since I only care about errors). As well, I keep a running count of the events as temporary project suite variables. The entire thing is updated all at once using a single function to stick it all together.
The tests running out of overall number of tests, is precalculated using a separate function and the status bar is just a reflection of that (#of test /100).
The CPU and Memory meters are event driven as well which is good enough for now...9.20 apparently has some additional things to tap into that could make those a little nicer :)
Related Content
- 13 years ago
- 4 years ago
- 9 years ago
- 5 years ago
Recent Discussions
- 12 hours ago
- 21 hours ago
- 2 days ago