Ask a Question

Object is not getting recognized

ugnvarma_1
Not applicable

Object is not getting recognized

Hi,



I was trying out TestComplete on one of the application that we intended to automate.  I have recorded a simple script that will login and click on few of the objects in the application.




There is one button called "New booking" and Test Complete fails to click on the object even though the object has been added (Recorded).  when I tried to highlight the object in the application it says object not found.  I have attached couple of screen shots for better understanding.  




Let me know if you need additional information.







Thanks

-Ganesh

1 REPLY 1

RE: Object is not getting recognized

Hi Ganesh,


You get the error message as TestComplete cannot find the 'uiNewBookingButton' object in the object tree. Most likely, the button was mapped by using non-stable properties whose values are changed from run to run. I suggest that you check whether the values of the properties of the mapped object are valid. Please read the "Modifying Mapping Criteria" help topic ( http://www.automatedqa.com/support/viewarticle.aspx?aid=2857 ) to learn how to modify name mapping criteria.


If this doesn't help, try increasing the value of the auto-wait timeout for the operation (clicking the 'New Booking' button). To do this, right-click the failing operation and select "Set Auto-Wait Timeout For Operations...". Uncheck the "Use project default Auto-wait timeout" check box and specify 20000 ms in the "Auto-wait timeout" box. Please refer to the "Set Auto-Wait Timeout Dialog" help topic for details.


If the problem persists, please zip your entire project suite folder along with the log of the failed test execution and send us the archive via our Contact Support Form (http://www.automatedqa.com/support/message/). Also, specify what version of TestComplete ('Help | About ...') you are using.



Best regards,
Alexey

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: