Forum Discussion
AlexanderM
Staff
15 years agoHi John,
To hide a message containing a secure password posted to the test log, you can call the Log.LockEvents method before the script line that enters the password and the Log.UnlockEvents method right after the line:
See the Log.LockEvents and Log.UnlockEvents help topics for details.
To hide a message containing a secure password posted to the test log, you can call the Log.LockEvents method before the script line that enters the password and the Log.UnlockEvents method right after the line:
//...
Log.LockEvents();
passwordBox.SetText("YourSecurePassword");
Log.UnlockEvents();
//...
See the Log.LockEvents and Log.UnlockEvents help topics for details.