Skip to main content

Enter-Password

Command Description

Enter password

Command Prototype

Keyboard.InputPassword(password,optionArgs)

Parameter Description

ParameterRequiredTypeDefaultDescription
passwordTruestring""Correspond to the content to be entered in one simulation
iDelayAfterNonenumber300Delay time (in milliseconds) after executing the activity is 300 milliseconds
iDelayBeforeNonenumber200The delay time (in milliseconds) before any operations are executed is by default 200 milliseconds
sSimulateNoneenum"message"You can choose Operation Type as: Background Operation (UIA), Simulation Operation (Simulate), System Message (MersSage), Default Selection: System Message (Message)

Demo

TracePrint "--------------------Enter password--------------------" 
// --------------------------------------------------------
// [Remarks] Enter the password
// Input parameter 1:
// password--password
// Input parameter 2:
// optionArgs--Optional parameters (including: delay after execution/delay before execution/operation type).Type:Dict

// Command prototype: Keyboard.InputPassword(password,optionArgs)
// --------------------------------------------------------

Keyboard.InputPassword("gicCYW79cWCCaM5irWDnsQ==",{"iDelayAfter": 300, "iDelayBefore": 200, "sSimulate": "message"})