Forum Discussion
I recreated and the error I'm getting says "An error occurred in the Team Foundation Version Control client. Reason: the item bla bla bla could not be found in your workspace or you do not have permission to access it.
I'll create a new test that isn't connected to Team Foundation (as I didn't see the one copy I made, wasn't on Team Foundation Server) and try again.
You're getting the Team Foundation Version Control error because Test Complete is horrible at version control. If you want to keep your test suite in TFS, you basically have to check everything out as soon as you open the project in Test Complete. Otherwise you will continually get errors while working in Test Complete because Test Complete is not smart enough to check files out as needed. If you're fairly new to TC, you won't have a clue what items should be checked out before you perform some operation anyway. So just check everything out first.
I tried explaining this to Smart Bear tech support, but they didn't want to hear it.
- tristaanogre8 years agoEsteemed Contributor
ACTUALLY:
1) I have no problems with TestComplete 12.31 automatically checking out items that are in my TFS source control. If something needs to be checked out, I get a prompt "Do you want to do this?" If I say no, the edit is canceled. If I say yes, it checks out what needs to be checked out and I can do my edits.
2) The "Save As" I can attest that it DOES do a "rename" when using TFS Source Control. This is, certainly, a bit annoying but I don't believe it's TestComplete's fault (if you're not using TFS source control, "Save As" makes a copy). I think TFS tries to be "smart" and apply it as a rename instead of as creating a copy. Perhaps it's something that SmartBear might want to look at but, as I said, I think this is TFS trying to be smart and TestComplete just going along with what TFS is doing.
- Walt8 years agoOccasional Contributor
Thanks for the reply Robert.
Not to be snide or snippy, but you just aren't trying hard enough :)
Yes, there are some operations where you're given a choice to check files out, but in others you only get an error saying the file is readonly with no way to recover. In some cases, if you choose to cancel the operation it only cancels the operation on the one specific file, not the overall operation, leaving your project in a sorry state.
I'm also using 12.31.
- tristaanogre8 years agoEsteemed Contributor
Guess I'm not... but so far, there hasn't been anything that we've used (object stores, file stores, keywords, scripts, namemapping files, tested apps, etc) that we've run into the "read only" problem with. If you have specific examples of which files you're trying, that would help to figure things out but, as it is, I've never experienced the problem you're running into. :)