Forum Discussion

Nilam's avatar
Nilam
Occasional Contributor
10 years ago

Object is not getting identified (In-consistant behavior)

Hi ,

 

We are using Licence tool (node lock). We did browser setting as suggestted by smartbear.

We have recorded VB script on Mozilla 31. While running the script on Mozilla (version 31.0), first time testcomplete was not able to identify the object.

By using 'Object Spy' we copied the path and made changes as "path".click.

When we ran the script again it worked as expected. But again we ran the same script, system is NOT able to identify the same object.

Conclusion: Its an inconsistant behaviour.

 

Getting following error in log:

An error occurred while accessing the "ClickItem" method or property of the "selectBuyingcurr" object.
The object or one of its parent objects was not found.

 

Untitled.png

 

Please help

Regards,

Nilam

  • Marsha_R's avatar
    Marsha_R
    Icon for Champion Level 3 rankChampion Level 3

    Is the page.CurrenciesDirectOnlineBuyCur object on the screen when this happens?  Try putting a Delay right before the test line that fails.  TestComplete may be running faster than the objects are loading behind the scenes.