Property HPALM.CurrentRunName
Gets HP ALM current run nameUsage
Property Get ZAP.HPALM.CurrentRunName As String
Parameters
PromptMessage (optional)
Type: String
Default value: "Input the text:"
Prompt Message for Input Dialog
CollapseMainWindow (optional)
Type: Boolean
Default value: true
If true it collapses Main ZAPTEST Window when dialog appears
DefaultResult (optional)
Type: String
Default value: Empty String
Default result if user clicks close button
Returns
Example
VBScript
currentRunName = Zap.HPALM.CurrentRunName
JavaScript
var currentRunName = Zap.HPALM.CurrentRunName;
Documentation Categories
![](https://www.zaptest.com/wp-content/uploads/2022/02/1SCRIPT_STEP.jpg)
ZAPTEST
![](https://www.zaptest.com/wp-content/uploads/2022/02/FARM.jpg)
FARM
![](https://www.zaptest.com/wp-content/uploads/2022/02/LOAD.jpg)
Comment
Get Current run name and save it to variable