Skip to content
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

setImmediateValue returns 501 (Appium 1.2.2) #25

Open
quintstoffers opened this issue Oct 1, 2014 · 2 comments
Open

setImmediateValue returns 501 (Appium 1.2.2) #25

quintstoffers opened this issue Oct 1, 2014 · 2 comments

Comments

@quintstoffers
Copy link

setImmediateValue makes appium respond with:

info: --> POST /wd/hub/session/93cac3f0-a175-4cca-9108-c51ec00699b3/appium/element/4/value {"elementId":"4","value":"mytext\n"}
info: [debug] Responding to client that a method is not implemented
info: <-- POST /wd/hub/session/93cac3f0-a175-4cca-9108-c51ec00699b3/appium/element/4/value 501 2.950 ms - 158 

Is there another way I can input text without Appium spending quite a bit of time trying to clear the text field first?

@imurchie
Copy link
Contributor

imurchie commented Oct 1, 2014

For Android? No.

If you are using the latest version of the Appium server it shouldn't take too long to clear, assuming it is clearable.

@quintstoffers
Copy link
Author

The fields aren't clearable, which is causing Appium to try it a couple of times before giving up. It takes approx. 18 seconds to figure out it can't clear the text, which is a rather long time when testing input fields.

I'd like it to simply send the value without looking at the current contents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants