fbpx

Method HideText

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

Usage

Function ZAP.HideText ( 
	String Text
)

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);

Documentation Categories

ZAPTEST

FARM

LOAD

Virtual Expert

ZAPTEST

ZAPTEST Logo