Skip to main content
Version: 1.0.0

Clear and Send Keys

Is the action of removing the existing content of an input field and sending a new data to replace it.

Platform​

Web, Android, iOS, Windows, JavaSwing

Attribute​

AttributeData SourceRecommended
Locator: is the element that the keyword will interact with on the user interfaceValue (commonly used): the value does not change during the test Variable: used when the xpath changes according to the input data of the test scenarioThe system recommends the default locator is Repository Element
Value: the value to be passed to the elementValue: value does not change during testing Variable (commonly used): is a parameter when performing data driven testing Parameter: used when data transmitted into the test script changes according to the environment (Environment parameter), device (Device parameter), version (Version parameter), agent (Agent parameter)The default system is String
End Key (press tab/ enter/ escape after entering data) - None: do not perform - Tab - Enter - Escape--

Use case​

Used when the user needs to enter data for the input text, textarea... tags of the test script.

If the data source is a variable and the name is not declared in the test scenario, the system will automatically create a parameter that matches the name of the variable

Example​

Enter "<kiemthu@gmail.com>" in the "Username" information field