Forum Discussion

vaishalisaid's avatar
vaishalisaid
New Contributor
3 years ago

Find object methods for Mobile

Hi,

I am starting from TestComplete Mobile , I am not able to search objects with find method (Which we also use for Web)

 

examples (c#)

var process = Mobile["Device"]()["Process"]("com.xxx.flow.xxx");
var view = process["Layout"]("NO_ID")["Layout"]("action_bar_root")["Layout"]("content")["View"]("NO_ID");

 

var Button1 = process["Find"]("ViewID","crc64ee486da937c010f4.ButtonRenderer")

var Lable1 = view["FindChildEx"]("ViewID","crc64ee486da937c010f4.LabelRenderer")

 

is this methods not valid for Mobiles?