report, text, result, scriptless, script-less, scripted, step, view, stepview

Method ReportText

Reads the text from the object and reports into Test Results

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function ReportText( 
        Boolean AlternativeMethod [Optional]
)

Step

ZAP Object step

ReportText

false

Boolean AlternativeMethod [Optional]

Parameters

AlternativeMethod (optional)

Type: Boolean

Default value: False

Uses an alternative method to get text form an object. Set this parameter to true if the normal method does not provide adequate results

Returns

No return value

Example

VBScript

Application("Demo").View("DemoView").Object("DemoObject").ReportText
'Set alternative method to true
Application("Demo").View("DemoView").Object("DemoObject").ReportText true

JavaScript

Application("Demo").View("DemoView").Object("DemoObject").ReportText();
// Set alternative method to true
Application("Demo").View("DemoView").Object("DemoObject").ReportText(true);

Comment

Report object text

Script-Less next step

Step

ZAP Object step

ReportText

Script-Less next step

Comment

Use alternative method to get text from object

Script-Less next step

Step

ZAP Object step

ReportText

true

Contact Us

3150 Roswell Rd NW

Atlanta, GA, 30305, USA

(800) 795-3552