ElementSendText(Zone, Element, Index, Text)
|
|
|
|
|
Send text to an element
Scenario: In the following example we will fill the "Search" field with some value by using the field native ID.
First, lets identify the field's native ID by using the spy feature.
We will use the "ElementSendText" command, and send the value ‘Shoes’.
Command usage:
With the 'ElementSendText' command you can send text from your computer's keyboard to a specific text field, without clicking on it.
Parameters:
Zone: Select Zone – will be set to "Native"
Element: Select Element – will be set to "id=search_src_text"
Index: Element index – will be set to "0"
Text: Text to Send – will be set to "Shoes"
client.elementSendText("NATIVE", "id=search_src_text", 0, "shoes");client.ElementSendText("NATIVE", "id=search_src_text", 0, "shoes");client.ElementSendText "NATIVE", "id=search_src_text", 0, "shoes"Report self.client.elementSendText("NATIVE", "id=search_src_text", 0, "shoes")$client->elementSendText("NATIVE", "id=search_src_text", 0, "shoes");ic_element_send_text(&client, "NATIVE", "id=search_src_text", 0, "shoes");