transaction, scriptless, script-less, scripted, step, view, stepview

Method Zap.HideText

Hides text input from report for Type method. The text will be replaced by the following string "*****"

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.HideText ( 
	String Text
)

ZAP Utility

Zap.HideText

password

hiddenPassword

Text

Output Parameter

Parameters

Text

Type: String

Input text

Returns

ZapString with text

Example

VBScript

hiddenPassword = Zap.HideText(Datatable.Value("Password"))
Application("Demo").View("Login").Object("Password").Object("txtPassword").Type hiddenPassword

JavaScript

hiddenPassword = Zap.HideText(Datatable.Value("Password"));
Application("Demo").View("Login").Object("Password").Object("txtPassword").Type(hiddenPassword);

Comment

Hide password text and save it to variable

ZAP Utility

Zap.HideText

password

hiddenPassword

Contact Us

1425 Market Blvd Ste 530 - 230

Roswell, GA 30076 USA

(800) 795-3552