Ask a Question

Name Mapping in Android

SOLVED
StephenWoolhead
New Contributor

Name Mapping in Android

Hi all, newbie here, just getting to grips with test complete and I can't seem to get name mapping to work.

 

I'm connected to a physical device, click Map object from screen, I can pick an item from the appium tree and ist shows me something like

 

Mobile.Device().FindElementByXPath("//ancestor::*[*[@text=\"Device ID\"]]")

 

I click OK and nothing happens?

 

Any advice?

 

Thanks

 

Stephen.

4 REPLIES 4
mattb
Staff

Hi, 

Did the object you mapped get added to the name mapping repository? It would sit under mapped objects section. Or is that where the object is not appearing?

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

Just not appearing, even when I try and map things directly in the 'Name Mapping' sections

Interesting, would you mind filling out a support ticket so we can get to the bottom of this!

https://support.smartbear.com/testcomplete/message/ 

hkim5
Staff

@StephenWoolhead 

for the appium based mobile support, namemapping hasnt been implemented yet.

this means if you record your tests, you'll see that the objects are just geting called as Mobile.Device.FindElement(X) instead of something like Aliases.device.button

 

namemapping should be included in the next release 

Best,
Justin Kim
cancel
Showing results for 
Search instead for 
Did you mean: