namjae / robotium

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

enterText method works incorrect #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

solo.clearEditText(0);
solo.enterText(0, "Something");

What is the expected output? What do you see instead?

In EditText should be typed "Something" text. But I see "SOmething" insted

What version of the product are you using? On what operating system?
robotium-1.7.1
Ubuntu 10.4
JUnit4
Eclipse 3.5.2
ADT 0.9.8

Please provide any additional information below.

Original issue reported on code.google.com by ekropo...@gmail.com on 24 Sep 2010 at 8:56

GoogleCodeExporter commented 9 years ago
Thanks for this issue. Are you running your test case on the emulator?

Original comment by renasr...@gmail.com on 24 Sep 2010 at 9:02

GoogleCodeExporter commented 9 years ago
Yes. On the Android 2.1 emulator.

Original comment by ekropo...@gmail.com on 24 Sep 2010 at 9:04

GoogleCodeExporter commented 9 years ago
What if you try to enter another text? 

Robotium is not altering or processing the text before sending it to the 
application. It must be the edit text field that is changing the letter. Have 
you developed the application that you are testing? 

Original comment by renasr...@gmail.com on 24 Sep 2010 at 9:16

GoogleCodeExporter commented 9 years ago
Yes I developed this application. And I am not processing inputed in EditText 
view text too.
When I try to test it using usual JUnit way:

getInstrumentation().sendStringSync("Something");

Text is OK. So, it seems like problem is in robotium.

Original comment by ekropo...@gmail.com on 24 Sep 2010 at 9:26

GoogleCodeExporter commented 9 years ago
Also, "someThing" gives me "someTHing"

Original comment by ekropo...@gmail.com on 24 Sep 2010 at 9:29

GoogleCodeExporter commented 9 years ago
This is very strange, is it possible for you to send me your application (or 
another application that has this problem) so that I can analyze this problem? 
The application will be removed as soon as I find a cause.

Original comment by renasr...@gmail.com on 24 Sep 2010 at 9:29

GoogleCodeExporter commented 9 years ago
I could't send you my application because of security policy but I will try to 
create dummy project what can demonstrate this bug.

Original comment by ekropo...@gmail.com on 24 Sep 2010 at 9:33

GoogleCodeExporter commented 9 years ago
Great. Thanks a lot.

Original comment by renasr...@gmail.com on 24 Sep 2010 at 10:07

GoogleCodeExporter commented 9 years ago
It's a very strange, but when I made emulator restart with "wipe data" this 
problem didn't appeared. Maybe it's some emulator issue. So I think this issue 
can be rejected.
Sorry for false alarm.

Original comment by ekropo...@gmail.com on 24 Sep 2010 at 11:42

GoogleCodeExporter commented 9 years ago
No problem. Nice to hear that its not a bug :)

Original comment by renasr...@gmail.com on 24 Sep 2010 at 11:45