jr348's avatar
jr348
Contributor
4 years ago
Status:
New Idea

Assign breakpoint to name mapped object.

This would activate a break in the test whenever an on-screen action is performed on mapped element.

3 Comments

  • tphillips's avatar
    tphillips
    Frequent Contributor

    Yes, I was just thinking of this! Not just for mapped objects though, it would be good to do it for any object.

  • jr348's avatar
    jr348
    Contributor

    Yes good idea but how would it be identified? If the object did not have the exact same properties next time it would not be detected.

  • tphillips's avatar
    tphillips
    Frequent Contributor

    Well TestComplete knows about its name mapping, and it knows when an object matches a name mapping. So you could add your breakpoints to the object in the Name Mapping tree. Maybe not so easy to do it for any object.