I tried below code to clear and set the value into text box.
clear method executing as below:
If the text box contains any data, cursor is populating in the middle of the text and clearing only left side text, but not the right side text.
setValue method executing as below:
Even I use setValue instead of sendKeys the data is typing and appending with existing text in the textbox instead of setting(clear & enter the text)
IOSElement element = (IOSElement)driver.findElement(resolvedLocator);
element.clear();
element.setValue(text);
Below is my Environment:
Framework: XCUITest
Xcode: 8.3.3
Appium : v1.7.2-beta2
iPad iOS version: 10.3.3
io.appium.java-client api version: 5.0.4
Thanks,
Ramesh Sriram