Ask a Question

Project Opens and Aliases Missing

maumrm
Contributor

Project Opens and Aliases Missing

The project I work on daily opened today and the name mapping is present, but none of the Aliases are. How do I get the aliases back? My keyword tests are useless w/o those aliases.

6 REPLIES 6
HPark454
New Contributor

GM Global Connect

Open the test log and find the “The object does not exist” message in it.

(Optional). To view the test commands that posted the error message, double-click that message in the test log. TestComplete will open the test containing the problematic command and highlight that command in the test.

After you selected the error message in the log, examine the description that is shown in the Details panel for the message. The description contains the alias of the missed object.

Double-click the alias to open the Name Mapping editor and highlight the alias in it. The editor will “tell” you that the alias is empty.

The issue is when the project file is opened, the section where the aliases are is empty. They are gone, all missing. Wondering if maybe the name mapping file itself got corrupted somehow. I opened a ticket with TestComplete support.

dhundley
Frequent Contributor

maumrm,

 

did you ever get a resolution to this issue? the same thing just happened to a colleague of mine. she also opened a case with TestComplete support but, so far, they have not been a big help. thanks!

 

david

I did get it resolved, I do not recall how though. I'm guessing I restored files via backups. Sorry I could not be more help.

Hi,

 

NameMapping file got corrupted.

If it is stored in source control, then, most probably, it was an automatic merge issue. (Merging must be avoided by all possible means.)

In any case, you should restore previous version of NameMapping file either from some backup or from some previous commit to source control.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] 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. Posts made by [Community Heroes]
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.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
dhundley
Frequent Contributor

yes. that's what we figured. my colleague just finished restoring her repo back to the last version before it got corrupted by a merge. it's all good now. thanks everyone!

cancel
Showing results for 
Search instead for 
Did you mean: