Forum Discussion

shivam's avatar
shivam
Occasional Contributor
6 years ago

Facing "Ambiguous object recognition" warning for several objects

I am facing "Ambiguous recognition of tested object" warning several times on various pages and objects of my web application. I have tried to improve the mapping information for these objects by addi...
  • shivam's avatar
    shivam
    6 years ago

    Hi Poornima,

     

    Try these:

    1. Increase the 'Auto wait timeout period' in project settings
    2. Improve mapping information of target object:  by adding some additional attributes in identification properties
    3. Improve mapping information of parents (of the target object): a) by by adding some additional attributes in identification properties, b) by adding a greater number of nodes in object tree hierarchy
    4. Disable the 'Show ambiguous warning' for the object 
      Note: Step 4 does not solve the problem just masks the warning in logs. And it is quite possible that your script may fail when run on remote machine or under some different environment and configuration (like screen resolution)

     

    P.S : I am still working for the concrete solution (or you can say, a satisfying workaround) to this problem.

     

    BR,

    Shivam