Forum Discussion

shankar_r's avatar
shankar_r
Community Hero
9 years ago

How to find value as [Missing Value] for a Object property in Name mapping?

Hi,

 

We done Name mapping merge, No error messages during merge. Hence we thought it got merged successfully.

 

But while running we got error as Invalid name mapping parameters.

 

I looked into the name mapping there i saw the Object (which got error), One of its property says [Missing Value]. Then i changed the value of the property and it is working fine.

 

 

But, We have merged more then 500 Objects I'm not sure how many of them having [Missing Value] value

 

So, How to find value as  [Missing Value] for a Object property  in Name mapping?

 

Tried with Find but no luck.

2 Replies

  • Hi Shankar,

     

    Unfortunately, there is no way to look for some certain mapping criteria values in TestComplete. But, you can try examining the Name Mapping file itself ("<your project folder>\NameMapping\NameMapping.tcNM"). Most probably, you'll see that the AWTComponentIndex property has an empty string for a value. So, you can try looking for all the property nodes which contain empty strings as values as well.

     

    Also, while working with the Name Mapping file, please note that changing its structure may corrupt the file, so the Name Mapping scheme you created won't be available in TestComplete anymore. So, if you're planning to make any changes there, please back up the file first.

    • shankar_r's avatar
      shankar_r
      Community Hero

      Thanks JuliaBernikova time on this, I have found the same way using Notepad++. I captured all the empty fields but some of the objects are already having empty which is expected.

       

      However, Currently we have fixed this issue. In future if found the same, we will get to know the Root cause of it that time i will raise the Feature request.