Ask a Question

How to Identify best a control ?

SOLVED
hacka87
Contributor

How to Identify best a control ?

Hello,

 

I want to know which is the best way to use the controls offered by Object Spy?  

- Aliases.Device.Process("com.companyname.TouchItemExample").XFObject("MainPage", "").XFObject("StackLayout","")

- or FullName Mobile.Device().Process("com.companyname.TouchItemExample").XFObject("MainPage", "").XFObject("StackLayout","")

 

 

1 REPLY 1
cunderw
Community Hero

Definitely Aliases, but you need to actually map your objects, it will make your life a lot better in the long run.

 

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/inde...

 

Above is some great info on how to map objects to use in code and KWTs.


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
cancel
Showing results for 
Search instead for 
Did you mean: