Attempting to clear using UiObject.clearText()


Appium is trying to execute the command driver.findElement(“Mobile Number”)).sendKeys(“900654092”);
and showing the following message

info: [debug] [BOOTSTRAP] [debug] Got command action: setText
info: [debug] [BOOTSTRAP] [debug] Using element passed in.
info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().

waits for sometime hear and give the message like

info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:7,“value”:“UiSelector[DESCRIPTION=Mobile Number, INSTANCE=0]”}
info: [debug] Responding to client with error: {“status”:7,“value”:{“message”:“An element could not be located on the page using the given search parameters.”,“origValue”:“UiSelector[DESCRIPTION=Mobile Number, INSTANCE=0]”},“sessionId”:“9e8449b9-bda9-4e83-a48b-0537598cc1e9”}
info: ← POST /wd/hub/session/9e8449b9-bda9-4e83-a48b-0537598cc1e9/element/1/value 500 25228.091 ms - 228
info: [debug] Didn’t get a new command in 60 secs, shutting down…

The individual object is selected. However Clearing is giving issue.

Anyone has a solution to resolve this.

Thank You


What version of appium , you use real device or emulator?
Is that an web or app ( Ios or android )?

Sathya Narayan

The device is emulator. Android 6.0 - API level 23.

It is Webapp (Hybrid).