Team Foundation Version Control (TFVC)
In this chapter
About Team Foundation Version Control (TFVC) and Ranorex Studio
You will need to install the following software to work with TFVC in Ranorex Studio:
Team Explorer 2013 for Visual Studio (Requires a free Microsoft account and Visual Studio Dev Essential subscription)
Don’t worry about the 2013/2015 designations in the software names if you’re using later versions (e.g. 2017) of Visual Studio or TFS. They are compatible and the TFVC integration will work.
Ranorex Studio will assist you with this dialog in case the required software is not present on the machine:
Add a Ranorex Solution to TFVC
Please make sure your Team Foundation Server infrastructure is set up and working.
For adding an existing Ranorex Solution to TFVC open the context menu of the solution. Go to ‘Source Control’ and click on ‘Add Solution to Source Control’.
To add a new Ranorex Solution right from the beginning to TFVC check the option ‘Add to Source Control’ in the ‘New Project’ dialog.
Please follow these instructions:
Choose ‘Microsoft Team Foundation Server’ as Source Control provider.
After performing these steps, your solution is under source control and your local copy is up to date.
Check out a Ranorex Solution from TFVC
Open ‘Tools’ menu, move to ‘Source Control’ and click on ‘Checkout…’.
Choose ‘Microsoft Team Foundation Server’ as Source Control provider in Source Control Wizard.
The chosen solution will be checked out.
Icon overlays in Projects View
Overlay icons are added to the items in the Projects view in Ranorex Studio as the solution is under source control.
In Ranorex Studio Options you can find options related to TFVC.
Open main menu item ‘Tools’ and choose ‘Options…’. In the following dialog select folder ‘Tools’ and sub-item ‘TFS Options’. By default, all checkboxes are checked.
If you are working with TFVC and running into performance problems with big solutions, uncheck ‘Enable file state ‘Modified’ check’.