cancel
Showing results for 
Search instead for 
Did you mean: 

TestComplete Object Name Mapping is all changed

New Member

TestComplete Object Name Mapping is all changed

Hope this thread finds you all well. I have a question that whenever if I map on screen object in one of my laptop on google chrome and save my test case as a script. After that if I run that same script on my other laptop on same browser i.e., Google Chrome, in that case my test case fails by saying that object not found, due to that i had to map those objects again in new laptop, why would i need to do this in other laptop, Is there not any way to map object once and run those test cases in any laptop without mapping object again.

 

Thanks, I am waiting for your reply as soon as possible.

1 REPLY 1
Community Hero

Re: TestComplete Object Name Mapping is all changed

Hi,

 

> Is there not any way to map object once [...]

This is the purpose of NameMApping/Aliasing - to map once and reliably use the mapped object for all browsers and until the UI layout of the tested application is completely redesigned.

The problem here is that it is only you and your team (designers and developers) who know the UI layout of your tested application and what properties of web elements can be used for stable and reliable mappings.

TestComplete tries its best but there is no universal way here and good mapping always requires it to be done in advance, before recording.

https://support.smartbear.com/screencasts/testcomplete/reliable-tests-for-dynamic-objects/ from https://support.smartbear.com/screencasts/testcomplete/ page might appear to be useful.

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
New Here?
Join us and watch the welcome video: