-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set text in textfield #96
Comments
Please share full server logs pls |
One more observation is If I generate a build for testing using command |
@saikrishna321 Is there any other way to implement this? |
@rohitbhoite can you share sample apk? |
@rohitbhoite Can you push the sample code to github repo. Can't download from unknown source. |
Can you try with above main.dart file .Its just a single file. Have added code in the description section |
Thank you for your prompt response :) |
@saikrishna321 did you get a chance to check it |
@rohitbhoite I'm unable to reproduce this issue. Everything works fine
Logs: https://gist.github.com/saikrishna321/e2ff4f339a96a42676fbacab4c617864#file-flutter-issue-L354-L363 |
@saikrishna321 I'm experiencing the exact same issue. My app initialized from the appium.dart is not allowing me to send keys. Like mentioned above, I cannot add keys manually either, the keyboard is not displayed and a dart like pointer is instead. This must be related how the app is being initialized, am I missing something? Some configuration, pluggin? My app is from a multiprovider, however I tried a very simple code and the exact same thing happened?
|
Thanks for sharing a sample code snippet. Will get back. |
@saikrishna321 any updates on this? |
@lmendes21 Sorry was snowed with work. Will see this soon. Thanks. |
Guys any update on above issue? i am facing the same issue |
@siva-regunathan I will look into to. Meanwhile can you share the error logs from client and server as gist? |
We are testing with one small test. For more info see https://w3c.github.io/webdriver/#dfn-element-send-keys [0-0] 2024-12-16T13:24:15.693Z INFO webdriver: COMMAND deleteSession() Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:13 2024-12-16T13:24:16.036Z INFO @wdio/local-runner: Shutting down spawned worker Test file: class SecurePage { await browser.flutterByValueKey$('EmailTextField').clearValue();
} module.exports = new SecurePage(); UI Code: |
@sudharsan-selvaraj I felt like its a keyboard issue, even if i manually open the test build keyboard doesn’t appear. Only the back space is working from the system. We are trying this on Emulator |
@sudharsan-selvaraj Any updates on this? Our testing is currently on hold due to this issue. |
@siva-regunathan Can you tell me flutter-server version, WDIO client version and flutter-integration-driver version? |
I am having below widget in one form and using [email protected] driver
I am trying to set the text using below code but its not working. I also tried using sendKeys method but its not working as well.
await browser.flutterByValueKey$("editText").addValue("a");
Got below error:
Have checked below code as well but somehow its not working
https://github.com/AppiumTestDistribution/appium-flutter-integration-driver/blob/main/test/specs/test.e2e.js
Logs
Code:
appium_test.dart file
main.dart file
The text was updated successfully, but these errors were encountered: