Ask a Question

Find object methods for Mobile

SOLVED
vaishalisaid
New Contributor

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?

 

 

2 REPLIES 2
mattb
Staff

Hi,

Looks like find is supported. Here are the available methods for the mobile object: https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/mobile/mobile/method... 

sonya_m
SmartBear Alumni (Retired)

Thanks Matt!

 

@vaishalisaid does this help?


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: