get, property, value, scriptless, script-less, scripted, step, view, stepview

Method GetProperty

Retrieves object property value

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function GetProperty( 
        String Name,
        Boolean Report [Optional]
)

Step

ZAP Object step

GetProperty

Text

True

val

Name

Report

Output Parameter

Parameters

Name

Type: String

Property Name

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Property value

Example

Get property text from object DemoObject and show its result in message box

VBScript

msgbox Application("Demo").View("DemoView").Object("DemoObject").GetProperty("Text")

JavaScript

alert(Application("Demo").View("DemoView").Object("DemoObject").GetProperty("text"));

Comment

Get Text property from object and save it to variable

Script-Less next step

Step

ZAP Object step

GetProperty

Text

True

val

Contact Us

1425 Market Blvd Suite 530-230

Roswell, GA 30076, USA

(800) 795-3552