Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

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]
)

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);

Documentation Categories

ZAPTEST

FARM

LOAD