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

ClearText & enterText not working from android #685

Open
GoogleCodeExporter opened this issue Aug 18, 2015 · 2 comments
Open

ClearText & enterText not working from android #685

GoogleCodeExporter opened this issue Aug 18, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Perform first solo.typeText(0,"test");
2. Perform solo.enterText(0,""); OR solo.clearEditText(0);

What is the expected output? What do you see instead?
The text should have been erased after step 2.
Instead the text didn't change

What version of the product are you using? On what operating system?
Version 5.4.1 on Android studio (win7-64bit)

Please provide any additional information below.
I use robotium for years on Eclipse and this specific methods Is in extensive 
usage in my other projects

Original issue reported on code.google.com by [email protected] on 13 Jun 2015 at 9:54

@GoogleCodeExporter
Copy link
Author

These methods have not been changed for a long while. Have you tried to change 
the index to 1 or 2 etc?

Original comment by [email protected] on 15 Jun 2015 at 3:04

@GoogleCodeExporter
Copy link
Author

Ok there is a huge difference - I am testing a Dialog fragment view.
So the first step is click on  a button which launches the fragment (extends 
DialogFragment)
Then the rest is performed there.
Now solo.typeText(0, "testmed"); WORKS!!!
Why the solo.clearEditText(0); is not working ?

Original comment by [email protected] on 15 Jun 2015 at 7:35

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

No branches or pull requests

1 participant