cancel
Showing results for 
Search instead for 
Did you mean: 

Object texboxUserName does not exist

SOLVED
Highlighted
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

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Object texboxUserName does not exist

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

View solution in original post

2 REPLIES 2
Highlighted
Community Hero

Re: Object texboxUserName does not exist

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

View solution in original post

Highlighted
Community Manager

Re: Object texboxUserName does not exist

Thanks a lot Marsha!

 

@Saimahm Does the suggestion help?


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!

Retrieve Data from a Web Page

Participate!
Top Kudoed Authors