Forum Discussion

vajindarladdad's avatar
Frequent Contributor
8 years ago

Object Identification

Hi Team, Whenever I do "copy Identification" , my source code becomes very long , bulky and unreadable. Is there any other way to do the same and make my source code very small ? Thanks, Vajindar.

1 Reply

  • AlexKaras's avatar
    Champion Level 3

    Hi Vajindar,


    Initial release of TestLeft does not support Namemapping and Aliases. 'Copy Identification' always provides you with the complete identification of the object. This is like you are always using FullName property to address the object in TestComplete. So, the only way now to make code shorter is to keep references to the intermediate objects in the variables and use them as roots to search for the child objects. (Pretty like you do in TestComplete.)