TestComplete Android Application Testing - The control is invisible unable to execute action error.
Hello Everyone,
I have an instrumented the andriod app. TestComplete is able to find out textboxes , buttons and other controls as well using object spy. But when I try to perform actions like click, set text etc.. I get an error the control is invisible , unable to execute action.
When I inspected the Name mapping element in object browser in the Identification property I can see that VisibleOnScreen property is False. But actually the element is visible on the screen. Every time object spy is able to identify the controls but not able to perform action. I am not sure how to find out the overlapped element as I dont see any overlapped window or elements in the andriod application or in object browser.
I tried using Image based functions to click , But it fails often based on the color and image pixel tolerance. I am also not able click the controls based on coordinates.
Highligting the object to mobile screen also does not work.
One strange behaviour is that when I tried using Javascript , for example, trying to set text using the wText property it works , sets the expected text to textbox controls but the value of the textbox is not set and the application has validation in it so it fails.
Please help if anyone faced this kind of issue. It gets very complicated to build testcases using image action.
Hi,
I contacted support regarding this. They informed there was a similar issue and it was fixed in TestComplete 14.0
Thanks for your help.