HP ALM
This category is a parent category in order to collect all sub categories and according articles.
Using the REST API it is possible to link a defect to another entity.
In this article I want to show how to link an existing defect to a requirement using XML.
Identify required fields
According to the REST API documentation a link is described by the entity "defect-link".
First we need to identify required fields for the entity "defect-link". To do so we have to call the following URL e.g. using your browser.
- Hits: 8669
The following source allows you to delete a file on a users hard disc without having to know if it really exists or not.
On top it provides you with error handling, so you only have to catch its Boolean result instead of having to check and handle these things every time.
Source Code
' @Author - Alexander Bolte ' @ChangeDate - 2014-12-19 ' @Description - Using the Scripting API to delete a file, ' if it is existing under provided file path. ' @Returns ture, if file has been deleted or has not existed ' under given file path else false. Function deleteFileOnHD(filePath) Dim fs ' As Scripting.FileSystemObject Dim ret ' As Boolean On Error Resume Next Set fs = createObject("Scripting.FileSystemObject") ' Check for a files existance. If fs.FileExists(filePath) Then ' delete a file. fs.DeleteFile(filePath) End If If Err.Number <> 0 Then Err.Clear Else ret = True End If Set fs = Nothing deleteFileOnHD = ret End Function
Referenced API
Referenced APIs are as follows.
- Hits: 6307
If you have to apply filters in HP ALM programmatically the following function allows you to escape characters in filter strings, which cause runtime errors if not handled properly.
Source Code
- Hits: 6935
Subcategories
HP ALM REST API Article Count: 3
This category is meant to hold all articles regarding HP ALM REST API.
HP ALM Workflow VBScript Article Count: 16
This category will provide articles regarding usage of Visual Basic Script in the workflow module of HP ALM.
Page 2 of 7