Ask a Question

Object texboxUserName does not exist

SOLVED
Leela1
Occasional Contributor

Object texboxUserName does not exist

Hi

 

I have recorded a KeywordTest and I am getting error

The object texboxUsername does not exist, this object do exist and I was able to login into the application

after logging in, on the first page I get this error while I am trying to run the test.

 

Thank you

 

 

 

2 REPLIES 2
Marsha_R
Champion Level 2

It frequently happens that test is executing faster than the object loads, so that TestComplete is looking for the object just before it actually exists.  

 

The best thing to do is to have your test wait and make sure the object exists before it tries to use the object.  Here are some ways to do that.  

https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-all/waitch...

https://support.smartbear.com/testcomplete/docs/app-objects/common-tasks/waiting-property-value.html

sonya_m
SmartBear Alumni (Retired)

Thanks a lot Marsha!

 

@Leela1 Does the suggestion help?


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: