Description
I need to update cached credentials for a TFVC source control repository associated with my Telerik Test Studio project. However, Test Studio doesn't prompt me for updated credentials even after attempting various steps like workspace removal, Credential Manager cleanup, and project disconnection.
This knowledge base article also answers the following questions:
- How to reset TFVC credentials in Telerik Test Studio?
- How to enable credential prompts in Test Studio after changes?
- Where are TFVC credentials stored for Test Studio projects?
Solution
To refresh cached credentials for a TFVC repository, follow these steps:
- Locate the Test Studio internal settings file in the user folder:
C:\Users\<YourUsername>\AppData\Roaming\ArtOfTest. - Open the
PerUserSettings.jsonfile using a text editor like Notepad++. - Find the setting
"TfsSkipAuth"in the file. - Change the value of
"TfsSkipAuth"fromtruetofalse. - Save the changes to the file.
- Delete the
WebUITestStudio.jsonfile in the same directory. - Start Telerik Test Studio.
- Attempt to connect to the TFVC repository. Test Studio will prompt for credentials.