Ask a Question

TestComplete integration with TFS Source Control 2013

krisss
Occasional Contributor

TestComplete integration with TFS Source Control 2013

Hello, 

 

I'm trying TestComplete 12  (trial version) .

I would like to try the TFS Integration, and specially the source control integration with TFS 2013.

I have Visual Studio 2015 on my PC, and testComplete 12.

In the tools Options, i choose "Team Foundation Version Control Plugin", and "Microsoft Visual Studio 2015" as TFVC client. I have mapped a workspace.

I think i have done all the pre requisite.

 

When i add a project to TFS via "source control" menu, TestComplete let me choose a TFS server, then a TFS Project via pop up: OK, no error .... But after nothing happens in testComplete: all the item in the source menu like checkin/Check out are grayed. I haven't see a checkin pop up.

 

If I look in TFS Source control, i can see the testComplete Project added, but no check in from testComplete.

 

-->There is no link from tfs source control with  my testcomplete project.

 

I try the second option, with MSSCCI provider, and it works, I can see the link with TFS ... 

 

Any clue ?

 

 

Regards,

Christophe

 

 

11 REPLIES 11
tristaanogre
Esteemed Contributor

I just tried pretty much the same process and it worked properly.

 

Can you give us some screenshots?  I'm not sure I understand what you mean by links not showing up, no check in from TestComplete, etc.  


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
krisss
Occasional Contributor

Thanks for your reply,

 

When I add my project to TFS from testcomplete, I have 2 pop-ups:

 - one to choose the server TFS

 - one to choose the project TFS

 

After validating the last pop up (project TFS) nothing happens. The pop up disapears and my project explorer doesn't change.

 

If I look to TFS control source from Visual studio, I can see that the testcomplete project was added, but not check in .  (+ icon next to the file).

 

When i do the same process with the MSCCI driver in TestComplete, after the second pop up, I have a "check in" pop up, and after I have icons next to my file  in the project explorer to show the check out state.

 

It seems that Something goes wrong with the "check in"  pop up with the Visual  Studio plugin, I try many times,  but without success.

 

 

tristaanogre
Esteemed Contributor

Which file are you checking in?  The MDS and PJS files are the primary project and project suite files for a TestComplete item.  These are the items that actually store the information for the source control tool to be used.  If you're not checking in either of those two files, the icons won't appear in the TestComplete project explorer.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
krisss
Occasional Contributor

OK,  I put some pictures:

 

pic1 to pic4  : my process

pic5: after the second pop up,  this is my project explorer, without icons

 

pic6: the project was added to TFS but not checks in.

 

 

It works if i use MSSCI drivers , but this method seems to be deprecated .

tristaanogre
Esteemed Contributor

Double check and make sure that the MDS file is present in TFS.  Also, before you clicked the "Add to TFS" option, had you saved your project first?

 

What happens if you close the project in TC and then reopen it?  Do the icons change?


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

Another question... E drive... is that a local drive or a network drive?  I think that the TFS integration is intended to work with local drives, not networked drives.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
krisss
Occasional Contributor

- Yes, the project was saved once.

- All my disk are local disks.

 

As you can see on the picture, the .mds is here, in TFS code source.

 

When I close and open my testcomplete project again nothing changes, no icon in project explorer and all the control source menu items are grayed  except "Add to control source". No check in or check out shortcut.

 

If I use MSSCI, I can see the icons, and I have all the item in the menu.

 

Something is wrong,  perhaps a right  in TFS for testcomplete ? I have no idea. 

 

 

tristaanogre
Esteemed Contributor

In TFS for your workspace, how do you have things mapped?  It's possible that the problem is a mapping translation... 


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
krisss
Occasional Contributor

In TFS   I have this :

 

$/Tests automatisés/test2/TestCompleteProject

mapped to  a local rep in c:\

 

 

 

cancel
Showing results for 
Search instead for 
Did you mean: