Enter-Password
Command Description
Enter password
Command Prototype
Keyboard.InputPassword(password,optionArgs)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
password | True | string | "" | Correspond to the content to be entered in one simulation |
iDelayAfter | None | number | 300 | Delay time (in milliseconds) after executing the activity is 300 milliseconds |
iDelayBefore | None | number | 200 | The delay time (in milliseconds) before any operations are executed is by default 200 milliseconds |
sSimulate | None | enum | "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"})