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

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227