alm

How to access tfs variables from a component using a custom powershell script for Visual Studio Release Management 2013 Release 4.0

对着背影说爱祢 提交于 2019-12-12 01:54:54
问题 My version of Visual Studio 2013 Release Management Client/Server is Release 4.0. I am using the ReleaseTfvcTemplate.12.xaml template. Is there any way to access the system variables from a release management component (deployer configuration) when using an AGENT based release template? I get NULL when I try to pass $applicationPath or $(applicationPath) or $(ApplicationPath). Here is my status on the deployment of a component in RM that has a custom powershell deployment script: I can

Getting System.__ComObject instead of data while pulling data from HP ALM?

淺唱寂寞╮ 提交于 2019-12-11 15:03:17
问题 Currently im trying to pull the data from HP ALM by using c#. While pulling the data from ALM some fileds are showing "System.__ComObject" instead of data. public DataSet methodALM(TDConnection qccTDConnection) { DataSet dsTC= new DataSet(); TDConnection qcc = qccTDConnection; //Decaler test set factory TestSetFactory testSetFactory = (TestSetFactory)qcc.TestSetFactory; //Define filter TDFilter filter = (TDFilter)testSetFactory.Filter; filter["CY_FOLDER_ID"] = "1"; //get all the list of test

ALM REST API v12.50 error 401

拥有回忆 提交于 2019-12-11 10:19:52
问题 Good afternoon, I am working on a C# application that needs to connect to HPQC v12.50 using the REST API. I have been able to authenticate and then I am trying to re-use the cookie I received as a webresponse to perform queries. However, I am stuck with an error 401 and after having read multiple forums and HP's doc about the REST API, I can't figure out what I am doing wrong. Here is my chunk of code: public void LoginAlm(string StrServer, string StrUser, string StrPassword, string StrDomain

How to access HP ALM using REST and local javascript?

半世苍凉 提交于 2019-12-11 10:04:43
问题 I just want to access ALM via local written javascript js in the browser (IE11, Firefox) via the REST API but I can not login. Here is my code for requesting the LWSSO cookie via jquery: var auth = btoa(USER+":"+PASSWORD); $.ajax({ type: "POST", url: https://alm.xxx.net/qcbin/authentication-point/j_spring_security_check, headers: { "Authorization": "Basic " + auth }, success : function(data) { }, }); The response header contains: https://alm.xxx.net/qcbin/authentication-point/login.jsp

Can I determine whether current component is executed from ALM's test lab, or interactively?

一曲冷凌霜 提交于 2019-12-11 00:15:24
问题 Can I determine (programmatically) how my current business component scriptcode has been initiated? It could be standalone (using "Run" from UFT's toolbar while the component is open) from a standalone test execution (using "Run" from UFT's toolbar while a test calling the component is open) from a test lab execution (using "Run" or "Run all" button in the test set im ALM)? Foggily related: Can I determine if current test execs from test lab or interactively from within QTP IDE? 回答1: If the

TFS 2015 Code Coverage is not displaying

↘锁芯ラ 提交于 2019-12-10 21:13:52
问题 I'm using TFS 2015 (Update 2.1) build process and everything is working as expected except the code coverage part. Build with VS Test (Code coverage enabled) After successful build: (testcase executed without code coverage) When I checked log, this is what I found: Warning: Diagnostic data adapter message: Could not find diagnostic data adapter 'Code Coverage'. Make sure diagnostic data adapter is installed and try again. I have tried De-attaching-attaching collection Re-installed Agent Have

Polarion ALM tool [closed]

为君一笑 提交于 2019-12-10 19:49:45
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . we are looking into a full ALM solution in our company. we are looking into Polarion ALM and RTC. has anyone ever heard on Polarion complete ALM tool? if so, can you tell me the pros and cons for this tool? what about RTC? i would love to hear your thoughts. thanks! merav 回答1: Those tools are both Application

How to use 'Export to HP ALM' Addin for Excel using Macro or VbScript

点点圈 提交于 2019-12-10 11:47:21
问题 I am trying to find a way to automate uploading manual testcases in excel to ALM. I have been using the ' Export to HP ALM ' Addin. However, This process is manual as you need to select the range and follow the wizard like steps of this Addin. Is there anyway to use this Addin using Macro/vbscript ? or is there any way to use the same map name used in this addin through OTA ? Update 1: Found a way for the above question ( the answer is posted below ) However, I need to speed up the process i

Unable to query projects using Tuleap REST API - To Get Artifacts details

拟墨画扇 提交于 2019-12-10 11:08:06
问题 I am using Tuleap (8.13.99.10) API to query artifacts. Could you provide details how to query for based on date and status. Where can I find (field_id,field_shortname) for date and status. 回答1: You will need to query first the structure of the tracker with GET /trackers/{id} . In the response payload you will have all the details about the field names and ids 来源: https://stackoverflow.com/questions/44627204/unable-to-query-projects-using-tuleap-rest-api-to-get-artifacts-details

How to get the name of all projects in a TFS collection?

杀马特。学长 韩版系。学妹 提交于 2019-12-07 16:29:06
问题 On how to get the collections from TFS refer here Please refer here for more details. This is one of the best resources on TFS stuff. 回答1: The collection guid is passed in and the list returns the name of all projects in that particular collection. public IList<string> GetProjectsFormCollection(Guid collectionId) { ICommonStructureService structureService = null; try { TfsTeamProjectCollection teamProjectCollection = _configurationServer.GetTeamProjectCollection(collectionId);