Property HPALM.CurrentTestName

Gets HP ALM current test name

Usage

Property Get ZAP.HPALM.CurrentTestName As String

ZAP Utility

ZAP Utility step

HPALM...TestName

testName

currentTest

Set Value

Get Value

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

currentTestName = Zap.HPALM.CurrentTestName

JavaScript

var currentTestName = Zap.HPALM.CurrentTestName;

Comment

Get Current test name and save it to variable

Script-Less next step

ZAP Utility

ZAP Utility step

HPALM...TestName

currentTest

Script-Less next step

Comment

Set new current test name

Script-Less next step

ZAP Utility

ZAP Utility step

HPALM...TestName

newTestName