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 executionUsage
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);
Comment
Get Platform type and save it to variable