Comments (3)
WDA emulates pressing the backspace button on a virtual keyboard in order to speed up the cleanup of the text field:
https://github.com/appium/WebDriverAgent/blob/130352cc3151c71acb674861f1443af7035a9e35/WebDriverAgentLib/Categories/XCUIElement%2BFBTyping.m#L169
If that action crashes the app under test then it must be an issue with the app itself.
from appium.
closed as third party issue
from appium.
WDA emulates pressing the backspace button on a virtual keyboard in order to speed up the cleanup of the text field: https://github.com/appium/WebDriverAgent/blob/130352cc3151c71acb674861f1443af7035a9e35/WebDriverAgentLib/Categories/XCUIElement%2BFBTyping.m#L169
If that action crashes the app under test then it must be an issue with the app itself.
Thank you for the feedback.
Keyboard that appears on screen is a numeric keyboard, so I am not sure which button WDA tries to emulate resulting in crashing of app. For input validation purposes, our app does not allow to pass random inputs via keyboard from user and this might be the reason that app is crashing.
As a workaround, I have managed to clear the input field by using this approach element.sendKeys(Keys.BACK_SPACE);
which works well. In my opinion, WDA should also look for the shown backspace button on screen to target it which should successfully clear input.
from appium.
Related Issues (20)
- bug: Scroll on Android don't work HOT 1
- [Feat]: Can I specify my own registry in "appium driver install --source=npm" HOT 4
- universal-xml plugin issue with webview mode HOT 7
- Appium server crashes and shuts down on first test HOT 21
- Real device architecture is not supported application after upgraded xcuitest driver to 7.15.1 HOT 6
- Nothing happen after Responding to client with driver.createSession() HOT 7
- Delete key on iOS keyboard is not working HOT 10
- [Feat]: Support for custom usbmuxd socket path or url HOT 1
- "Error:Appium Settings app is not running after 30000ms" while running emulator in headless in Android version 13 and 14 HOT 4
- bug: XCUITest-driver invalid platform detection when ipa have more than 1 bundle HOT 3
- Unable to resolve the launchable activity of 'com.google.android.youtube' HOT 8
- Appium accessibility id's different on android to iOS HOT 1
- bug: Appium Inspector loads some app screens slowly/not at all HOT 1
- Possible bug - I get certain errors ONLY when "isHeadless" is set to true HOT 2
- [iOS] Clicking on a button is success but nothing happens on the UI. HOT 7
- The picture stream of ios device is displayed with black edges HOT 3
- Appium Crash after Performing cleanup HOT 7
- PrebuiltWDA for iOS 17 not working well and always got Timeout HOT 12
- [Feat]: help initial steps to use appium HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium.