Skip to main content

Posts

Showing posts from March, 2017

Triggering UFT/QTP Tests from CI Tools (outside of ALM/QC)

In the CI (Continuous Integration) world, we would be in the position to trigger UFT/QTP scripts from outside of ALM/QC and there we may have 2 options like; 1. Running UFT tests stored in plain Windows File System folder 2. Running UFT tests stored in ALM Both these options are being utilized by lot of testers effectively and working great. Here I would like to give some light on what if we need to update results to particular test set instance in ALM while triggering tests from outside of ALM.  You should have seen the result options in the dialog which pops up when we are trying start running from UFT/QTP itself and we will select the option and hit OK to start running. Here we need to select those options from API. VBScript: Sub LaunchAndRunUFT()     Dim oUFT, appUFTResults, uftTestParamDef, uftTestParams, oFSO          'Launch UFT     Set oFSO = CreateObject("Scripting.FileSystemObject")     Set oUFT = Cre...