Forum Discussion

veera_bolli's avatar
veera_bolli
Occasional Contributor
14 years ago

Bug # " Object Does't Exist "

Hi


How to Add a new Object using Name Mapping or anything?


Problem : I am using Test Complete 7.51


I have an Application and I  Record many tests all are fine.


When I try to Automate  some other features on the same application, It shows the Mapped Name Field


‘As Aliases.uniRTE.wndClass_CHILD83’


The wndCLASS_CHILD83 is for some operations (Like for Main Window) .


But  it calling All sub windows as As Aliases.uniRTE.wndClass_CHILD83’


And during running tests I am getting error like” Object does’t Exist”


Here I found a solution like if we modify any object its working fine.


But I want to know How to Add a new Object.


1.       I clicked on Name Mapping.


2.       From there I select the button “ Map Object From Screen”


3.       Then Map Object Dialog window opens, I selected sub window.


4.       Now in Object Field it shows “Aliases.uniRTE.wndCLASS_CHILD83”


5.       Even I clicked on Highlight Button ,it shows exactly same sub window.


When I click on Ok Button to edit the object name to some name like wndCLASS_CHILD84


It shows warning message like


“Object already mapped to wndCLASS_CHILD83”.


So I want to change to some another new object.I don’t want to delete Object 83.


Plz suggest me. Its very urgent

1 Reply

  • Hi Veera,


    It looks like the criteria specified for the Aliases.uniRTE.wndClass_CHILD83 object in your Name Mapping scheme are not unique. As a result, other objects you are trying to map match the existing item, and new items cannot be created. To solve the problem, you need to change the Name Mapping scheme for the problematic Aliases.uniRTE.wndClass_CHILD83 object so that the property values match only a single object and do not match other objects you are trying to map.