public class UIATextField extends UIAElement implements UIAutomationTextField, MobileTextField
UIATextField class allows access to, and control of, text field elements in your app.| Constructor and Description |
|---|
UIATextField(String locator) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearText()
clear the current text inside the element
|
void |
sendKeys(String keys)
send keys to element without cleaning its values
|
void |
setText(String text)
clear the existing text in text field and sets the text in the text field.
|
void |
setValue(CharSequence... keysToSend)
Sets the corresponding character sequence in the text field.
|
doubleTap, findElement, getBridgeDriver, getLabel, getLocator, getName, getValue, scrollToVisible, setBridgeDriver, setLocator, tap, tapWithOptions, twoFingerTap, waitForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoubleTap, findElement, getLabel, getLocator, getName, getValue, scrollToVisible, tap, tapWithOptions, twoFingerTapfindElement, getLocator, getValue, tappublic UIATextField(String locator)
public void clearText()
MobileTextFieldclearText in interface MobileTextFieldpublic void sendKeys(String keys)
MobileTextFieldsendKeys in interface MobileTextFieldkeys - keys to send to elementpublic void setText(String text)
MobileTextFieldsetText in interface MobileTextFieldtext - text to set in the text field.public void setValue(CharSequence... keysToSend)
UIAutomationTextFieldsetValue in interface MobileTextFieldsetValue in interface UIAutomationTextFieldkeysToSend - CharSequence to set in the text field.Copyright © 2016 PayPal Open Source. All rights reserved.