act262 / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

ClearText & enterText not working from android #685

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 croc.sof...@gmail.com on 13 Jun 2015 at 9:54

GoogleCodeExporter commented 9 years ago
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 renasr...@gmail.com on 15 Jun 2015 at 3:04

GoogleCodeExporter commented 9 years ago
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 croc.sof...@gmail.com on 15 Jun 2015 at 7:35