Forum Discussion

rchavan's avatar
rchavan
New Contributor
6 years ago
Solved

Failed test at Log in, but works if i already have a manual session open

When i execute a Log In test script for my application, the test fails right when the mouse clicks the application icon on my desktop. I have been doing a manual work-around of opening an active sess...
  • tristaanogre's avatar
    tristaanogre
    6 years ago

    Yes.  There's really no need to automate the double-click on the icon.  What you REALLY are testing is not whether or not windows will serve up your application on a double-click but what the functionality of your application is after it is launched.  TestedApps is TestComplete's way of launching the application without having to depend upon the Windows environment doing it.

  • Marsha_R's avatar
    Marsha_R
    6 years ago

    Also, clicking the icon to launch your app means that your test will never run properly on another machine.  The icon will never be in exactly the same place.  tristaanogre's solution will avoid that problem.