Unable to find object
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2010
03:39 AM
01-08-2010
03:39 AM
Unable to find object
TestComplete Version
7.50
7.50
IE Version
8
8
OS Windows
7
Test language VB Script
7
Test language VB Script
When I try to click
or verify objects in a dialog window my test fails with an Unable to find
object Item(" .......
or verify objects in a dialog window my test fails with an Unable to find
object Item(" .......
I have confirmed
with object explorer that the correct labels are being used, objects in the
window that invokes the dialog verify OK. The refresh routine is called after the dialog appears just in case the connection has been lost.
I even tried recording that section of the test, on playback it fails with the same message.
with object explorer that the correct labels are being used, objects in the
window that invokes the dialog verify OK. The refresh routine is called after the dialog appears just in case the connection has been lost.
I even tried recording that section of the test, on playback it fails with the same message.
Does anybody have
any suggestions?
any suggestions?
Thanks,
Damian
13 REPLIES 13
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010
06:45 AM
01-12-2010
06:45 AM
I will re-phrase my last response.
When the commented code is made active it causes my test to fail. The commented code functions correctly - all it does is invoke a new page.
It would be pointless sending the code as you would need our application installed to test it, I would prefer to get it resolved in house.
When the commented code is made active it causes my test to fail. The commented code functions correctly - all it does is invoke a new page.
It would be pointless sending the code as you would need our application installed to test it, I would prefer to get it resolved in house.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010
07:33 PM
01-12-2010
07:33 PM
Hi Damian,
I need to know the exact error message and the content of the Remarks page for this message. Also, I need to know what exact line generates this error message. Could you please provide me with this information?
--
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010
03:07 AM
01-13-2010
03:07 AM
I have found the error a delay is required in what appears to be unrelated code
FYI here are the details
Here is the relevant
section of the working code (see workingcode.jpg)
This test works
Now using the following code (see failing_code.jpg)
Causes the test to fail if the Delay(5000) is not used
FYI here are the details
Here is the relevant
section of the working code (see workingcode.jpg)
This test works
Now using the following code (see failing_code.jpg)
Causes the test to fail if the Delay(5000) is not used
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2010
10:19 PM
01-14-2010
10:19 PM
Hi Damian,
I think that, when the 'Insert Sales Order' button is clicked by the problematic line, a new page is loaded. Although there is a delay in 10 seconds, this time can be not enough for the page to be completely loaded, and therefore, TestComplete tries to work with the page before it is ready. Call the Page.Wait method after navigating to a new page to make TestComplete wait until the page is completely loaded. You can find more information in the 'Page.Wait' and 'Waiting For Page' help topics.
--
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »