Hi i create test in testcomplete by Javascript. I have problem with click on item element.
//get mapped name object by control text property
var text_object = Aliases.Device.Process_androidclient_myStockDemoLogisticsDev.Layout_NO_ID.Layout_action_bar_root.Layout_content.FindEx("ControlText", ELEMENT, 7);
Log.Message(text_object.FullName)
text_object.Click();
this script works fine for me but if the search item is somewhere down in the list and not visible, it doesn't find it. It crashes on the error The object does not exist.
I don't know how to fix this. Can someone please advise me how to write it so that it scrolls down until it finds it.
Thank you so much