cancel
Showing results for 
Search instead for 
Did you mean: 

How to Identify best a control ?

SOLVED
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 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: How to Identify best a control ?

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
1 REPLY 1
Highlighted
Community Hero

Re: How to Identify best a control ?

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
New Here?
Join us and watch the welcome video: