Ask a Question

Test complete - team foundation integration

SOLVED
artw
Occasional Contributor

Test complete - team foundation integration

I have a question about the integration with team foundation server. We recently added our test complete project to source control. Initially all worked somewhat well but slow. Recently I've been working on a few scripts (.js) and I noticed some unexpected activity. We also use visual studio to track other projects unrelated to test complete in team foundation server. Under pending changes there (in VS) I can also see what's happening with test complete checkouts. 

 

I have one .js file where if I right click on it in TC and select "check out for edit" it gets checked out. I see an exclamation mark next to the file. If instead of checking it out first I just start typing in the file before I check it out I get a message asking me to check out the file first. This is expected, but when I click OK I get an error message about the .js.tcVis file missing or not having enough permissions. The file actually exists in my local file system and it is not set to read only.

 

That's one thing. Once I have that .js file checked out, or try to add a new one and then check it in I notice that the whole check in takes very long time/freezes. When I switch to VS' pending changes I see whole bunch of other .tcVis files that are tied to unrelated tests (including keyword tests) getting checked out with [add] action. This does not make any sense to me. What is happening and is this by design? 

 

 

 

 

 

 

3 REPLIES 3
Marsha_R
Champion Level 3

I'm looking at the Known Issues and Limitations section here

https://support.smartbear.com/testcomplete/docs/working-with/integration/scc/tfvc/index.html

 

I wonder if that first paragraph about binding applies to your problem.  Try what is suggested there and see if it helps.

artw
Occasional Contributor

I think that helped. The source control operations seem a bit faster too. Thank you very much. 

 

I have a follow up question. Is there a way to change the default lock from "unchanged - keep any existing lock" to "check out - prevent other users from checking out and checking in"? I could not find any option to do that. I see lock options when I check out a file using right click menu option (unchanged is always preselected) but when I simply start typing and click ok to allow a check out I do not get prompted for the lock type. I'm assuming it's the "Unchanged - Keep any existing lock"

 

 

 

Marsha_R
Champion Level 3

Step 1 here mentions your edit/right click step, I don't see a way to change the lock option.  

https://support.smartbear.com/testcomplete/docs/working-with/integration/scc/tfvc/common-tasks/check...

 

You can go here and add that idea as a feature request

https://community.smartbear.com/t5/TestComplete-Feature-Requests/idb-p/TestXCompleteFeatureRequests

cancel
Showing results for 
Search instead for 
Did you mean: