Method GetPlatformType

Retrieves the platform type name and returns it in a string. Use this method only after you had executed the Launch or SetPlatformType method at least once per execution

Usage

Function GetPlatformType(
    Boolean Report [Optional]
)

Step

ZAP Object step

GetPlatformType

True

platformType

Boolean Report [Optional]

Output Parameter

Parameters

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

The type of the platform

Example

VBScript

Application("Demo").GetPlatformType(True)

JavaScript

Application("Demo").GetPlatformType(true);

Comment

Get Platform type and save it to variable

Script-Less next step

Step

ZAP Object step

GetPlatformType

True

platformType