Posts

Showing posts from July, 2015

Function to upload UFT/QTP scripts in ALM/QC

As most of the organizations are moving to ALM/QC for automation scripts or many of them have already moved.  Below function will help the people who are going to move all automation scipts to ALM/QC.  Also need to take care of resources before uploading the scripts to ALM/QC as currently it will be using the local path but when uploaded to ALM/QC it will not work if you execute those scripts through ALM/QC on other testing hosts. This function will open the test in QTP and perform save as in the QC folder path you provide. And will remove all functional libraries and will include which you specify. RowCnt = <Number of tests> ALMUrl =  <ALM URL> ALMDomain = <ALMDomain> ALMProject = <ALMProject > ALMUserId = <ALMUserId > ALMUserPwd = <ALMUserPwd > Set objQTP = CreateObject("QuickTest.Application")     If Not objQTP.TDConnection.IsConnected Then         objQTP...