Forum Discussion

sudhir_optima's avatar
sudhir_optima
Contributor
14 years ago

ClickButton() method wont work on my object

I have recoreded a script, in which it records ClickButton() method on one of my object button. But while replaying it stoped without clicking it . Giving error Object Does not exist.



I have learned that ClickButton() method wont work for some object and replace it with Click() method. Still both method does not work ?



Can any one help me why this is happening ?
  • Hi Sudhir,



    The "Object does not exist" error means that the object to be clicked cannot be found during the playback. For example, this can happen if the identification properties and values of this object, or its parent objects specified in Name Mapping aren't sufficient for the object identification.



    You can troubleshoot the issue using the procedure described in this topic:

    Handling the 'Object Does Not Exist' Error
  • Hi Helen, I have explore all the topic related to the error. When I tried to find the object in Object Browser it displayed error.' Underlying object does not exit.'



    Note- My application and the window on which the object is present both are open.



    Later I explore the Object Browser and found that the object is present.



    Please find the attachment for both Object Browser hierarchy and mapped object.



    One Question i have, in Mapped object I only saw the mapped name, but where are the properties get stored ?
  • Hi Helen, We have explore more by creating another Fresh Project suite and records the same and it is working !.



    Note- In Mapped Object only this recorded objects are present



    But then why it is not working on previous Project which has lot of object mapped ?
  • Hi Helen , We are able to resolve this. This is because the object whhich we want to click is mapped in Incorrect parent object. We have deleted this Incorrect parent object from mapped tree, again record the action , and the object is properly addedd into correct parent object.
  • Hi Sudhir,



    Glad to hear that you solved the issue. Thanks for letting us know!