Upload Test Cases from Excel Add in
Error when trying to add Work Items with Attachments using Shared queries in TFS 2013
Hi,
We have a requirement to query work items and send to business with work Items Attachments. When "Attached Files" is added as "Column Options", We receiving the error as below:
Kindly help us with your inputs.
Goal: Business does not have access to TFS. Hence, Instead of sending the query with work items in an email, We would like to send the work items with the respective work items attachments in an email.
Many thanks
Venkat
Venkatesan Nadimuthu
How can I show multiple iterations going on at the same time in the Current section of Task Board
visual studio test agent delpoyment task fail with message 'Did not find TestAgentConfig.exe
I have two PC, both are win7 installed.
I want to build a automatic test platform using TFS.
I want to use PC1 as TFS server, I have Microsoft TFS 2015, Visual studio 2015 installed.
and in PC2, I have Visual studio 2015 installed, I want the PC2 to be testing PC( include Coded UI test)
I create one Build in clude
1# Visual Sutodio Build task
2# Windows Machine file Copy
3# Visual studio test agent delpoyment
4# Run functional test.
once I running the build I will get following message error at step 3#
DistributedTests: Task 'ConfigureTestAgent' for machine apcnopc7pm5z2x:5985's Error : System.Exception: Did not find TestAgentConfig.exe at : C:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE\TestAgentConfig.exe. Ensure that TestAgent is installed.
anything wrong with me? can anybody help me ?
ray
multiple check-out not working!!
Hi
I am using tfs 2015.3 and visual 2015.3
I like when I checked out project the other users can not checkout it. so in theSource Control Settings (Visual Studio --- Team --- Team Project Settings --- Source Control) unchecked theEnable multiple check-out but it's not working!!!! when I was checked out the code, other users can also check out!!!!
Missing over/under utilization chart on the Work Details pane in Capacity Planning
Not sure when this started to happen but the Work Details pane for capacity planning is not showing the Over/Under Utilization graphs anymore on any project/team and current and past sprints. (See image below) Can someone tell me why this might be and to turn them back on?
We are running TFS 2015 Update (although planning to upgrade to Update 3 this weekend)
Thanks
Scott
Is VSTS support to run jasmine UT?
Unable to close pull request for a deleted branch
Have a problem with Checkout window!!
Hi
I am using TFS 2015.3 and Visual 2015.3 .
when i want to check out project and selection of lock type, I was faced with strange shapes!!
As you can see in Fig. I have only two Lock type for selection!!! But it have three to be.
in the another system and user connect to this project and saw that it true!!!
only in my system have this problem!!! I was uninstall visual and install it again but not work!!
what am i do??
Deserialization issue with workitems
For several weeks, I was connecting to TFS from my code for multiple usages.No problem with my connection to the server Since day one but today, this error occurred :
Exception thrown: 'Newtonsoft.Json.JsonSerializationException' in mscorlib.dll
Additional information: Error converting value "System.Security.Principal.WindowsIdentity;…”
to type 'Microsoft.VisualStudio.Services.Identity.IdentityDescriptor'. Path authenticatedUser.descriptor', line 1, position 170.
I am using Microsoft.teamfoundation.WorkItemTracking.Client library
So, tfs is trying to convert a string into IdentityDescriptor, that I know, but how should I fix that… Do you have any ideas on how to fix this issue.
Thanks!
TFS 2015 SP1 enforce unique value in a field for an int
Hi,
Can you point me to any documentation about how to enforce unique value in TFS ( custom code/ manipulating query and send email etc). User should be able to enter numbers like 1,2,3 etc and before saving the work item, it needs to be checked if its unique for area for that day.
It needs to throw an error if its a duplicate and say same value exists.
IF its not possible to do that, can you suggest alternative way( run a query report and send email to the person last changed that there are duplicates with the same value or stackrank, priority combination or any thing simpler? )
Thank you
Ka
VSTS Service WebHook returning null resource
Hi,
I have created service web hooks to post JSON to my API when there is GIT pull/push.
Even though I have setup Resource details to send to "All" for my pull.request.created/updated all the posts are coming with null resource. Seems that this issue started on July 21st.
Thank you.
"resourceVersion": null,"createdDate": "2016-07-27T01:19:29.3285388Z",
"resource": null
Changing the state of VSTS service hook using API
Hi,
Can I enable a disabled VSTS service hook using the API?
Can you help with sample?
Thank you.
Displaying the owner of comment in Review Work Item of TFS
I've been exploring the capabilities of TFS regarding showing the owner of comment in code review phase. For the review which has multiple reviewers, we want to show the comments with its owners. Could you please help about it ? If it is possible like customizing other type of work items, would you please show the way of handling this feature ?
TFS 2015 Monitoring...
Hi
I have has some complaints that the TFS Server is slow sometimes, usually get feedback after the fact...
=> Can you point me at any Perfmon or IIS stats I could monitor to look back in time to see issues ?
i.e. then I can check what jobs where running besides user requests..
=> And - Or is it possible to monitor a http ping to the server so I can record response times ?
(remember this is port 8080, not 80)
Many thanks
License required to create Test suite and Test plan in TFS 2013
Hello Team,
We are using TFS 2013, what license does it required to create Test plan, Test Suite and Test cases from Web Access?
From my knowledge, these are now Work Items in TFS, is it sufficient to have only TFS CAL?
Thanks in advance!
Raghavendra Vagga
TFS API insert shared steps from excel based on ID#
Hello All,
Below I have a Powershell script that tries to insert pre-existing shared steps based on their shared step ID. The test case ID#s and shared step ID #s are stored in a csv file and this script maps the csv file. The frustrating part is that the code does nothing. It doesn't give me any errors when trying to execute it. But it doesn't insert any steps into my test cases. What am I doing wrong?
$csvFile = "C:\StepsMapping.csv" #format: Parent, Child, ChildB, ChildC, ChildD [Reflection.Assembly]::LoadWithPartialName('Microsoft.TeamFoundation.Common') [Reflection.Assembly]::LoadWithPartialName('Microsoft.TeamFoundation.Client') [Reflection.Assembly]::LoadWithPartialName("Microsoft.TeamFoundation.TestManagement.Client") [Reflection.Assembly]::LoadWithPartialName('Microsoft.TeamFoundation.WorkItemTracking.Client') # Define parameters $tfsCollectionUrl = "http://mytfsurl/tfs/testcollection"; $projectName = “testproject”; # Connect to tfs $tfsCollection = [Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionFactory]::GetTeamProjectCollection($tfsCollectionUrl); $tcmService = $tfsCollection.GetService([Microsoft.TeamFoundation.TestManagement.Client.ITestManagementService]); [Microsoft.TeamFoundation.TestManagement.Client.ITestManagementTeamProject] $tcmProject = $tcmService.GetTeamProject($projectName); $testCasesProperty = [Microsoft.TeamFoundation.TestManagement.Client.ITestManagementTeamProject].GetProperty(“TestCases”).GetGetMethod(); $testCases = $testCasesProperty.Invoke($tcmProject, “instance,public”, $null, $null, $null); $SharedStepsProperty = [Microsoft.TeamFoundation.TestManagement.Client.ITestManagementTeamProject].GetProperty(“SharedSteps”).GetGetMethod(); $SharedSteps = $SharedStepsProperty.Invoke($tcmProject, “instance,public”, $null, $null, $null); $list = Import-Csv $csvFile foreach($map in $list) { $testCase = $tcmProject.TestCases.Find($map.Parent); $oldShareStep = $tcmProject.SharedSteps.Find($map.Child); $SharedStepReference = $testCase.CreateSharedStepReference(); $SharedStepReference.SharedStepId = $oldShareStep.Id;
$testCase.Actions.Add($oldShareStep);
$testCase.Actions.Add($SharedStepReference); $testCase.Save }
Load Test Wizard setting
Using TFS, Git, and Team City
I have a solution that I want to convert to a git repo and use with TFS as well as Team City.
I'm not asking for a complete solution, but maybe some resources to get me started.
I've already got the git repo running, and we're very happy with it. But we want to have Team City take care of the continuous integration.
Is there a way to have pull requests gated pending on the result of a TC build? And have this build run automatically?
Thanks
TFS 2013 – Issue: Stuck builds in Team Foundation Build with no build number
All of the builds are getting stuck in the queue, and the run time shows 0 seconds.
The build server is separate from the TFS server. It runs on Windows 7, and has been for the past year. There are no error in the Console on the build server or in TFS.
My build agents say ready, and have the green arrow.
Had gone thru this issue shown for TFS 2012. but under site binding, I only have one item in the list.
https://nkdagility.com/tfs-2012-issue-stuck-builds-in-team-foundation-build-with-no-build-number/
After digging through the logs, I found the error below. But, it makes no sense since nothing has changes since yesterday, and everybody has the same problem.
Log Name: Microsoft-Team Foundation Server-Build-Services/Operational Source: Microsoft-Team Foundation Server-Build-Services Date: 7/19/2016 6:47:58 PM Event ID: 424 Task Category: WorkflowManager Level: Error Keywords: Process,WorkflowManager,Controller User: xxxxxx\ocsbuild Computer: xxxxxx.com Description: Bulkhead - Controller: Failed to finalize build vstfs:///Build/Build/21088 due to an exception. Exception Type: Microsoft.TeamFoundation.Build.Client.AccessDeniedException Exception Message: TF215106: Access denied. OCS-MAIN\kjackson needs Update build information permissions for build definition OasisQA--MWF in team project AtlasProd to perform the action. For more information, contact the Team Foundation Server administrator. Stack Trace: at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs) at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs) at Microsoft.TeamFoundation.Build.Client.BuildWebService4.UpdateBuildInformation(InformationChangeRequest[] changes) at Microsoft.TeamFoundation.Build.Client.InformationNodeConverters.BulkUpdateInformationNodes(BuildDetail build, List`1 requests) at Microsoft.TeamFoundation.Build.Client.BuildInformation.Save() at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.FlushBuild(IBuildDetail build, BuildStatus finalStatus) at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.OnInstanceCompleted(BuildWorkflowInstance instance, IDictionary`2 outputs, Exception terminationException) Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"><System><Provider Name="Microsoft-Team Foundation Server-Build-Services" Guid="{05C4BC36-E3E1-4B96-9E0F-EB9337634CEC}" /><EventID>424</EventID><Version>0</Version><Level>2</Level><Task>6</Task><Opcode>28</Opcode><Keywords>0x4000340000000000</Keywords><TimeCreated SystemTime="2016-07-19T23:47:58.232849200Z" /><EventRecordID>10953</EventRecordID><Correlation ActivityID="{BE60AAEE-7459-4B64-A940-33D7C32453E7}" /><Execution ProcessID="2416" ThreadID="4568" /><Channel>Microsoft-Team Foundation Server-Build-Services/Operational</Channel><Computer>Bulkhead.oncenter.com</Computer><Security UserID="S-1-5-21-815403929-376661218-1404200075-18411" /></System><EventData><Data Name="MachineId">vstfs:///Build/ServiceHost/124</Data><Data Name="ProcessId">vstfs:///Build/Controller/15</Data><Data Name="ProcessName">xxxxxx- Controller</Data><Data Name="BuildUri">vstfs:///Build/Build/21088</Data><Data Name="FaultType">Microsoft.TeamFoundation.Build.Client.AccessDeniedException</Data><Data Name="FaultMessage">TF215106: Access denied. OCS-MAIN\kjackson needs Update build information permissions for build definition OasisQA--MWF in team project AtlasProd to perform the action. For more information, contact the Team Foundation Server administrator.</Data><Data Name="FaultStackTrace"> at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs) at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs) at Microsoft.TeamFoundation.Build.Client.BuildWebService4.UpdateBuildInformation(InformationChangeRequest[] changes) at Microsoft.TeamFoundation.Build.Client.InformationNodeConverters.BulkUpdateInformationNodes(BuildDetail build, List`1 requests) at Microsoft.TeamFoundation.Build.Client.BuildInformation.Save() at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.FlushBuild(IBuildDetail build, BuildStatus finalStatus) at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.OnInstanceCompleted(BuildWorkflowInstance instance, IDictionary`2 outputs, Exception terminationException)</Data></EventData></Event>