Enter in the target after obtaining credentials
Command Description
Obtain the value of the specified credentials from the "Data Assets - credentials" module of the Commander, and then enter it into the specified target
Command Prototype
CommanderCredential.InputPwd(objElement,credName,fieldType)
Command parameter
parameter | mandatory | type | default value | Instructions |
---|---|---|---|---|
objElement | True | decorator | @ ui"" | The UI elements selected by the mouse contains information such as window and element, or the existing UI elements is selected from the UI Library |
credName | True | dynamicEnum | "" | Select from the credentials names created by the user in the "Data Assets - credentials" module of the Commander |
fieldType | True | enum | "username" | The credentials contains the "User Name" and "Password" fields, and the "Password" field is an encrypted value |
Return result
Run instance
/*********************************Input Credential into Target Field*********************************
Command Prototype:
CommanderCredential.InputPwd(objElement,credName,fieldType)
Input Parameters:
objElement -- Target. Note: The interface element selected via mouse, containing window, element information, etc., or select an existing interface element from the interface library.
credName -- Credential name. Note: Select from the credential names created by the user in the "Data Assets - Credentials" module of the Robot Commander.
fieldType -- Credential field. Note: The credential contains "Username" and "Password" fields, and the "Password" field is encrypted.
Output Parameters:
None
Notes:
None
********************************************************************************/
CommanderCredential.InputPwd(@ui"","","username")