Forum Discussion

ZXQA's avatar
Occasional Contributor
4 years ago

Finding an object when form name changes but every form has the same object

Hello,    This explanation may be poor but I am trying to script this for the first time. I have an object that I need to interact with regardless of what form I am on. I have tried to use the exam...
  • Wamboo's avatar
    4 years ago

    It will be very easy for you if you use NameMapping inside TestComplete.

    It is not recommended to use Sys. to write scripts in TestComplete,


    Use NameMapping -> modify recommended property with (use wild cards):



    Use .Find() on the selected object to avoid performance problems. It is not recommended to start the search process from the beginning of the program object structure.


    Debug πŸ›this piece of code and change parameters. This is the key to success.