Forum Discussion

qtrolazyg's avatar
qtrolazyg
Contributor
14 years ago

Login screen and Unable to find the object error

I suspect this has been asked many times, so I am sorry if this is a repeat.

A desktop app (java).

TestComplete version: 8.70.727.7



I have the usual login/logon screen that appears if the credentials are not remembered.  If the credentials are remembered, the logon screen is bypassed. The test fails - "Unable to find the object" error when the logon screen is bypassed. I haven't found a way to catch the condition and allow the test to continue.  I've tried if..exists, if ... VisibleOnScreen, and try/catch.  Can anyone point me in the right direction?



thanks