I cannot select a object on screen even after adding the object class to MSAA option
I cannot select a object on screen even after adding the object class to MSAA option. Please let me know what else can I do to achieve this.
When I record clicking the object, it just gives me the coordinates. Any help would be appreciated.
Is it the correct MSAA pattern you are using ?
If you are unsure then select the astrix and rerecord your test.
You could also try the same with UI Automation, add your class class
Bare in mind the astrix may cause performance issues so its just to see if it works.
Now, it may be a derived class or custom class you are using.
Check out how to add them here in the
We could also look at using other approaches to interact with your control, for example OCR which would be alot better than Co ordinates
Aside from that I would recommend either reaching out to your SmartBear account manager/Representative, they book a call with an engineer to have a closer look or raise a ticket with support if they have more information.
Hi @hina -
Would you be able to take a screenshot and show the object spy after spying on the object? Sometimes there are ways outside of MSAA/UIA to dive deeper into the object based on the control type.
Have you tried adding custom controls to the mapped objects
Its difficult to tell exactly what the issue is, however mapped objects shows you what objects TC support out of the box.
MSAA/UIA extends what we support out of the box.
Using mapped objects, you can then add additional classes, perhaps classes which derive from a supported classes or custom classes etc.
Try it out, see you get on.
Failing I would suggest arranging a call with an engineer potentially opening a support case.
It will be easier to find out whats actually happening.
Your SmartBear rep can arrange this
Like Vincent said with UIA/MSAA,
But now could you try adding and enabling an asterisk in the Text Recognition current project property: https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/open-apps/...
Also, does it matter if there are two objects with the same class name? Because I added the WndClass in MSAA, and it works for one object and doesn't work for the second object with the same class name.