6

I am using Visual Studio 2017 with Selenium C# for automation testing. I do see when I right click a Test, 'Associate to Test Case' is enabled. When I click it though, I do see an error - 'You are not logged into Team Services or Team Foundation Server. Please login to an account and try again'. I validated in the Team Explorer - Home, my test repository is displayed. I did close and reopen Visual Studio and reconnected to my project but still seeing the error.

Any advice would be great. Thank you. :)

JSoldano
  • 81
  • 1
  • 4

2 Answers2

9
  1. Navigate to the Team Explorer view
  2. Click the Home icon
  3. Pull down the list to the right of "Home"
  4. Select Projects and My Teams / Manage Connections
  5. Click Manage Connections / Connect to a Project...
  6. Select your repo and click the Connect button
Mark Bullock
  • 91
  • 1
  • 2
0

If you still encounter the problem open visual Studio as an administrator.

Chamiz
  • 54
  • 5