alm

Git tag at the end of build on Visual Studio Online (Build vNext, hosted pool)

人盡茶涼 提交于 2020-01-01 08:14:52
问题 I'd like to automatically tag a commit when a build is successful on VSO build vNext. I've read the doc including this page https://msdn.microsoft.com/Library/vs/alm/Build/scripts/variables and I've setup a small PowerShell script. First of all, it seems that BUILD_REPOSITORY_AUTH_USERNAME variable (and its friend password) are empty. I guess they're only available with external gits ? Second of all, it seems that the checkout for build is done via tasks which runs LibGit2Sharp, therefore

SwitchTo method for Coded UI

扶醉桌前 提交于 2019-12-25 12:53:12
问题 I am working on a, hand coded, Coded UI test for an application. The application has a certain function that operates in 2 windows. When a button is clicked, a new window appears and then the user makes a selection upon which that window closes, and then the user continues taking actions on the main window. With Selenium, I would handle that by iterating through all the window handles and switching by using passing it the URL of the page I wanted using the " driver.SwitchTo().Window(handle) "

SwitchTo method for Coded UI

烈酒焚心 提交于 2019-12-25 12:52:35
问题 I am working on a, hand coded, Coded UI test for an application. The application has a certain function that operates in 2 windows. When a button is clicked, a new window appears and then the user makes a selection upon which that window closes, and then the user continues taking actions on the main window. With Selenium, I would handle that by iterating through all the window handles and switching by using passing it the URL of the page I wanted using the " driver.SwitchTo().Window(handle) "

Create branch at specific change set, move changests after this point to different branch

痴心易碎 提交于 2019-12-25 03:36:13
问题 Hypothetical scenario: By mistake, I've been working away on my 'Main' branch. What I need to do, is effectively reset my Main branch to a particular changeset - 1001 for example. Changesets after 1001, I want to move to a new branch - 'Dev' Is this possible? I come from a git background, so if this were a git repository, I would probably use something like: git checkout -b Dev 1001 //create branch at 1001 git checkout Main //back on Main git reset --hard 1000 //reset main to 1000 回答1: No,

Getting error “ActiveX component can’t create object” when running testset

元气小坏坏 提交于 2019-12-24 15:24:47
问题 I'm trying to run UFT script from ALM using VBScript, but I'm getting an error on the line: set objScheduler = objTestSet.StartExecution (""). Error:ActiveX component can’t create object Full script: ' Script : Run the ALM/QC Test Sets Dim objTDCon, objTreeMgr, objTestSetFolder, objTestSetList Dim objTestSet, objScheduler, objExecStatus, objTestExecStatus Dim strTestSetFolderPath, strTestSetName, strReportStatus, intCounter 'Declare the Test Folder, Test and Host you wish to run the test on

TFS API Create Release with powershell

折月煮酒 提交于 2019-12-23 20:11:38
问题 I'm trying to queue a build and create a release using powershell. I'm able to successfully queue a build but unfortunately, the Continuous Deployment is not being triggered for the release. My hope is that I can do both of these in a powershell script that will allow me to release the application. I'm using TFS 2015 Update 3 I've been working from an article posted here: http://blog.nwcadence.com/vststfs-rest-api-the-basics-and-working-with-builds-and-releases/ In summary in performing the

Deploy from Visual Studio Online build to private IIS server

假如想象 提交于 2019-12-23 15:01:09
问题 Currently I'm building an ASP.NET MVC project using the new Team Foundation Build 2015 (former Build vNext) feature in Visual Studio Online and I can do a successful deployment to an Azure Website easily. Also I have a private server with Windows Server 2012 and IIS (you can not access it via the Internet) and I wonder if there is any way to make a deployment from my build in Visual Studio Online. Is it possible? 回答1: Yes, it is possible. You need to set up a on-premise build server machine

QTP/UFT - Close all browsers except QC/ALM

那年仲夏 提交于 2019-12-20 04:45:14
问题 Currently I am using the below code to close all the browsers except the ALM browser from where I run the test suite from. However When I run the suite from ALM, the below code identifies 2 browsers - ALM browser and the test case browser. It first closes the test case browser and when it executes the iteration for the ALM browser, it says the browser is not identified when it tries to find the name of the browser. I am not sure why it counts it as a browser if it cant identify it later. Any

Integration between HP ALM and Appium

耗尽温柔 提交于 2019-12-12 04:06:04
问题 Is it possible to establish a connection between HP ALM and Appium to automate the test execution in ALM? 回答1: Yes, it is possible. You will have to use a different API for ALM. You've got 2 ways to achieve this: Using HP-ALM OTA API (OTA API Reference: Click here) Pros: a.) OTA API is a huge C# API with enormous variety of functionalities which can be used. b.) Object Based API. Most programmers can work easily use it. Cons: a.) Platform dependent. Need to register the OTA COM Client .dll in

HP ALM Synchronizer TFS 2010 mapping workitem

你。 提交于 2019-12-12 03:00:00
问题 What does this error means...?? EndpointParams: Endpoint params check failed. Reason: Folder Work Item verification failed. Verify that the folder work item, name field and description field are configured correctly in the adapter's dat folder. Any idea.. 回答1: In HP ALM Synchronizer, in the Advanced tab of the configuration of the link you should be able to set endpoint params. Check that you have set a value for all params. Refer to page 75 of HP ALM Synchronizer User Guide 回答2: Thank you