Forum Discussion
Hi mtsmith,
Thank you but I have already tried to apply the hotfix, but in vain.
I managed to get TestComplete to work by mapping the project source path on Master to a virtual drive so the path beame a lot shorter. (net use M: \\%COMPUTERNAME%\C$\pathtoproject /persistent:yes, I could've used subst but making it permanent is a bit tricky)
So both manual and automatic project transfer work fine on TC.
However TestExecute is still showing the same issue, the project does not get copied correctly onto slave machines.
Why would TestComplete and TestExecute behave differently?
Are TestExecute and TestComplete both using the same login ID?
- completeintern9 years agoOccasional Contributor
Yes they are.
- completeintern9 years agoOccasional Contributor
Alright I have figured a few things out.
On my last problem (TC is able to transfer project from mapped drive fine while TE isn't):
The issue was that while I was opening the project from that mapped drive M: on TC, I launched TE via script from C:.
So then the project tried to copy files from M: but it couldn't find any.
Opening the project on TE from M: solved the issue. Another thing to keep in mind, is that if the mapped drive is created without elevated privileges, then running the project from task scheduler while having 'Run with highest privileges' checked will not work as the mapped drive can not be seen (see this thread (SuperUser) for more info)
So basically I did all of that to try and have the shortest path possible. Should I add some more files to these long paths and exceed 260 chars, I may run into the same problem again. Now in Windows it is possible under certain circumstances to bypass the 260 characters limit (see here (MSDN))
However I tried playing around with those prefixes ( \\?\C:\longpath & \\?\UNC\host\C$\longpath) but that did not work in TC.
Would there be any way to transfer a project from a long path to a long path? I could use an external script but I would rather have it done through TC.
Related Content
Recent Discussions
- 55 minutes agojstaehlin
- 19 hours agoAivanitskiy
- 22 hours agonastester