Ask a Question

Object Identification

vajindarladdad
Frequent Contributor

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 1
AlexKaras
Community Hero

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.)

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: