Forum Discussion

leeasdf9's avatar
leeasdf9
Frequent Contributor
11 years ago

How to count Events and Checkpoints in Test Log

Hi Tanya,

Is there a way to count how much Events and Checkpoints are exactly executed in test log? If it is possible, can we also count how much objects do we have in namemapping?

It would be interesting for the statistical review of our test managment.

Thanks and Br,

Li
  • paul_scroce's avatar
    paul_scroce
    Frequent Contributor
    You could use NamedChildCount property to count child mapping items that a parent object contains. A total count of all mapped objects might not be useful as an indicator of test coverage if there are many intermediate containers in the object hierarchy in the application.
  • leeasdf9's avatar
    leeasdf9
    Frequent Contributor
    Thanks Paul for your thread, that is exactly what i am looking for. I also hope that namemapping objects can be counted somehow.

    Lee
  • leeasdf9's avatar
    leeasdf9
    Frequent Contributor
    Thanks Paul again for your brilliant solution. I got an idea with this property to parse and count all mapped children objects.

    Thanks again :)

    Lee