Can NameMapping be switched off
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2010
05:15 PM
03-17-2010
05:15 PM
Can NameMapping be switched off
Hi there,
Can NameMapping be switched off? If it can, how can I disable it? I find it to be more of a hassle than its worth!!
Thanks,
Brad
Can NameMapping be switched off? If it can, how can I disable it? I find it to be more of a hassle than its worth!!
Thanks,
Brad
5 REPLIES 5
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2010
09:05 PM
03-17-2010
09:05 PM
Hi Bradley,
The "Map object names automatically" option can be turned off from the "Name Mapping Options" dialog. See the "Name Mapping Options Dialog" help topic for more information. However, if a name mapping scheme is already created, TestComplete will use mapped names for the objects over which actions are performed during the recording. In this case, you need to delete the scheme: you can either clear the contents of the Mapped Objects and Aliases panes from the Name Mapping editor or just delete the NameMapping project item.
Could you please explain exactly what problem makes you want to disable this feature?
--
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2010
02:30 PM
03-21-2010
02:30 PM
I just find that TestCompletes way of creating namemapping is not consistent which makes trying to understand what namemapping it has created a little difficult.
In some instances the name mapping does not work at all. If i record a mouse click (with name mapping) and play back it sometimes does not work, it struggles to find the object. However if i go and then manually enter the mouse click but this time using its full proper name and then play back, it then works?
The only problem is now i have half my project with namemapping and dont want to re-referrence it all. However I would like to from now on, not use it... So if possible, for testcomplete to keep using the namedmapping where defined, but from this point onwards, to not record and use anymore.
In some instances the name mapping does not work at all. If i record a mouse click (with name mapping) and play back it sometimes does not work, it struggles to find the object. However if i go and then manually enter the mouse click but this time using its full proper name and then play back, it then works?
The only problem is now i have half my project with namemapping and dont want to re-referrence it all. However I would like to from now on, not use it... So if possible, for testcomplete to keep using the namedmapping where defined, but from this point onwards, to not record and use anymore.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2010
02:33 AM
03-22-2010
02:33 AM
Hi Bradley,
In some instances the name mapping does not work at all. If i record a mouse click (with name mapping) and play back it sometimes does not work, it struggles to find the object.
Please zip your entire project suite folder along with the log of the failed test execution and send me the archive via our Contact Support form. I will look into it and suggest possible changes.
The only problem is now i have half my project with namemapping and dont want to re-referrence it all. However I would like to from now on, not use it... So if possible, for testcomplete to keep using the namedmapping where defined, but from this point onwards, to not record and use anymore.
Disable the "Map object names automatically" option, and TestComplete will use full object names during the recording. However, if you perform actions over objects that have been already mapped, TestComplete will use their mapped names unless you delete the objects from your current Name Mapping scheme.
Best regards,
Alexey
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2010
01:58 PM
03-22-2010
01:58 PM
Hi,
I can zip the project up and send it in, but the web site it interacts with is not external facing? So not sure how much it would help, or is the code itself enough?
Thanks,
Brad
I can zip the project up and send it in, but the web site it interacts with is not external facing? So not sure how much it would help, or is the code itself enough?
Thanks,
Brad
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2010
09:49 PM
03-22-2010
09:49 PM
Hi Bradley,
Most probably, it won't be necessary to have access to your tested application to make the needed changes so your project can run successfully. We need to see the project settings, the Name Mapping tree and the log of the failed test execution.
Best regards,
Alexey
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
