Forum Discussion

hrothrock's avatar
hrothrock
Contributor
5 years ago
Solved

tested app is not using the working folder

I use TestComplete to test web applications, but we are converting from a legacy Windows product. I need to write a test that opens our legacy program (among other things). I have added the legacy pr...
  • tristaanogre's avatar
    tristaanogre
    5 years ago

    OK, so, a number of things come to light.

     

    1) Your working directory is on a mapped drive (Y).  While you, as a user, may have the drive mapped, if you're running TestComplete as an administrator, that drive mapping may not translate.

    2) Drive mapping I've found to be rather interesting, sometimes, when working with different kinds of applications.  The drive may be mapped just fine in Windows but if you open up a command prompt, it may not be mapped.  Windows does that sometimes and it's VERY annoying.

     

    Recommendation:

     

    Change the working directory to be the full network path (\\<servername>\<sharename>\<folder tree>\)  OR

    Restore the working data to a local C drive directory instead and have your tested app point to that local drive location.