SendText(Text)
|
|
|
|
|
|
|
S end/Insert text to/into the application. Also supports key events.
Text: Text to Send
Matching command to elementSendText.
This command can be used only for ASCII symbols. Note that the tag must be placed on the text field.
This command can also be used for Device key events.
Scenario: In the following example, we will use the EriBank application.
To send the text 'company' to the username text field.
Before using SendText command, need to click on the text field so that the tag will be placed there.
Parameters:
Text: Text to be sent – will be set to company
client.sendText("company");client.sendText("company");client.sendText "company"Reportself.client.sendText("company")$client->sendText("company");