Bolte IT Consulting
HP ALM Workflow VBScript
This category will provide articles regarding usage of Visual Basic Script in the workflow module of HP ALM.
Whenever you are interested in ALM Quality Center audit history you have various choices of getting the information.
One way of extracting history information from the database is using the Excel reporting functionality of the HP ALM Quality Center Dashboard.
First create a new Excel Report in the Analysis View of the Dashboard (see documentation library of HP ALM on details how to create such a report).
In the tab Configuration you will find the Query Builder, which allows querying the underlying database server of ALM Quality Center using SQL.
This is a nice feature, if you have to apply more complex analysis. Especially analysis on history information will require accessing audit tables either through the HP ALM OTA API or through SQL or both.
- Hits: 13496
If you need to get the last day in a month in VBScript you can use the following function.
Source Code
References
I found this little trick on a Microsoft page, which also describes how to calculate several dates depending on the current date.
https://msdn.microsoft.com/en-us/library/aa227533(v=vs.60).aspx
- Hits: 3275
In case you have to append a comment to an HP ALM memo field, the following method might be of help.
Source Code
- Hits: 3887
If you have to reference attachments in HP ALM Defects module the following script might give you a hint on how to implement it.
Source Code
- Hits: 5211
Combines key value pairs from two collections of type Scripting.Dictionary.
Source Code
Referenced API
http://www.w3schools.com/asp/asp_ref_dictionary.asp
- Hits: 3705