I can't find in the listview the item by ControlText on the layout which is in the list.
Object path:Aliases.Device.Process_androidclient.Layout_NO_ID.Layout_action_bar_root.Layout_content.Layout_vmc_main_content_area.ListView_vmc_screen30_list. Layout("NO_ID").Layout("NO_ID").Layout("vmc_list_row_other_lines").Layout("NO_ID", 2).Layout("NO_ID").TextView("vmc_list_row_sub_column_value")
Layout("NO_ID", 2) - number 2 is second item (layout) in list. And controltext is in TextView on Layout.... (picture)
Thank you for your advice 🙂
Thank you for submitting the query! Let's see if the Community can help!
@abishekhari007 @jr348 @A_Roskoshnyi any thoughts on what's going on here?🙂
Did you try using the FindChildren Methodhttps://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-all/findal...
If you are looking for an element by ControlText, then you may need to use property "Parent".
Try it like this:
var text_object = Your_AliasObject.FindChild("ControlText","1001NA21000011",10);
var list_item = text_object.Parent;
Thanks a lot, Community!
@David91 did the advice help? Please share your solution.
I try it thank you