Forum Discussion

prekar's avatar
prekar
Occasional Contributor
5 years ago
Solved

Desktop Application Testing

Hi Everyone, When I try to find objects of a Desktop Application using object spy it doesn't find the objects inside the window. I was able to find some using OCR but wherever the text field appears...
  • Wamboo's avatar
    5 years ago

    Hi, maybe it's a non-standard element?

     

    If so, try this:

     

    Command TestComplete to recognize your custom Infragistics controls, open your project’s Object Mapping options and add the control’s class name to the corresponding subgroup of the Infragistics Controls group. The subgroup name corresponds to your custom control’s type. Once the control is mapped, it gets all the properties, methods and actions specific to the Infragistics control of the corresponding type.

    If the specified custom control does not fit the control’s type, then it may not properly respond to commands that TestComplete sends, so recording or playing back user actions over the tested control will cause errors.