Forum Discussion

googleid_116641's avatar
googleid_116641
Occasional Contributor
14 years ago

Ambiguous Recognition of Tested Object

Hi All



Good Evening



As a newbie in TestComplete , i am getting "Ambiguous Recognition of Tested Object" warning and then Object not found error , can someone please help how to resolve it ??



My TestComplete project is testing for this particular object and this is where it get failed always while checking the object in IE9





Aliases.NechoAdmin.LoggedIn.NotificationsList.SearchResultList.Object.AutoApprovedRecord



and before throwing this warning , TestComplete throw one more warning

The mapped item has the extended Find attribute enabled





This message is posted to assist you in troubleshooting the subsequent "The
object does not exist" error.


The mapped item "NotificationsList",
which is one of the parent objects of the missing object, has the Extended
Find
attribute enabled. As a result, the test engine was searching for this
parent object on all levels down the object hierarchy and found the following
object matching the mapping criteria:


Sys.Process("iexplore",
2).Page("http://localhost:7001/NechoAdmin/").Frame("necho_frame_public_visible").Frame(0).Table(0).Cell(0,
1).Panel("app_content").Form(0).Table(0).Cell(0, 1).Panel("list_pane")


If it is not the desired object, then this mismatch may be the cause of the
subsequent "The object does not exist" error. If this is the case, correct the
mapping criteria to identify the objects more precisely.


.....................................................................................

There are several objects in the system that match the recognition attributes
of the "Object"
mapped object.


This may cause the "Object not found" error.


Objects




Sys.Process("iexplore",
2).Page("http://localhost:7001/NechoAdmin/").Frame("necho_frame_public_visible").Frame(0).Table(0).Cell(0,
1).Panel("app_content").Form(0).Table(0).Cell(0,
1).Panel("list_pane").Panel(1).Panel("document_entries").Panel("document_entries_inner").Panel("document_entries_lineitems").Table(0).Link("selected_3")


Sys.Process("iexplore",
2).Page("http://localhost:7001/NechoAdmin/").Frame("necho_frame_public_visible").Frame(0).Table(0).Cell(0,
1).Panel("app_content").Form(0).Table(0).Cell(0,
1).Panel("list_pane").Panel(1).Panel("document_entries").Panel("document_entries_inner").Panel("document_entries_lineitems").Table(0).Link("selected_2")







Thanks in Advance



Thankful Regards

Prashant
  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    Ambiguous recognition means that the criteria you are using for mapping your object is actually not specific enough to uniquely identify your object.  You need to modify your mapping criteria for Aliases.NechoAdmin.LoggedIn.NotificationsList.SearchResultList.Object.AutoApprovedRecord so that it is more uniquely identified.  As for the extended find warning, you get that warning if Extended find is enabled for an object and TestComplete generated an error or warning in trying to find it.



    See this article for instructions on how to modify NameMapping. http://smartbear.com/support/viewarticle/12451/



    See this article for specifics on the Ambiguous recognition warning. http://smartbear.com/support/viewarticle/18855/