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);
Comment
Hide password text and save it to variable