Forum Discussion

surabhi_agarwal's avatar
surabhi_agarwal
Occasional Contributor
13 years ago

Object That Was Not Found - PanelWepper

When I reccord the test, TC is able to identify and map the object. But when I execute the Test Case I get the error: "The Object does not exist"


Object Whose Method or Property Was Accessed














Alias:

Aliases.browser.pageHttpAppQaSuccessacademiesOrg3.panelWepper.panel.panel.nav.link

Name mapping item:

NameMapping.Sys.browser.pageHttpAppQaSuccessacademiesOrg3.panelWepper.panel.panel.nav.link


Object That Was Not Found














Alias:

Aliases.browser.pageHttpAppQaSuccessacademiesOrg3.panelWepper

Name mapping item:

NameMapping.Sys.browser.pageHttpAppQaSuccessacademiesOrg3.panelWepper





Can somebody tell me whats going wrong here.

4 Replies

  • It seems that something has been changed on the tested web page.

    The object Sys.browser.pageHttpAppQaSuccessacademiesOrg3.panelWepper was not found. Maybe its property values now have different values, or some intermediate parent object have been appended to the page.



    Set the breakpoint in the test on the statement where this issue occurs, run the test, and when it stops on the breakpoint try to find the corresponding object in the Object Browser, then map it and compare the new mapped object to the problematic one.
  • surabhi_agarwal's avatar
    surabhi_agarwal
    Occasional Contributor
    Moreover it does not recognize the object in Object browser until I map it again.
  • Try finding the answer in the following article: http://support.smartbear.com/viewarticle/31506/



    If you think Name Mapping is too unreliable and complicated, then you can work without it - remove NameMapping item from your project, record your test again and choose not to create NameMapping when you stop test recording. In this case TestComplete will work directly with objects displayed in Object Browser instead of mapped objects.