Kitty2014 / robotium

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

solo.typetex() doesn't type text in edittext field #644

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
I expected Text is typed by spell and softkeyboard is opened while text is 
typed. I see that the text isn't inserted in edittext field

What version of the product are you using? On what operating system?
5.2.2 SNAPSHOT

Please provide any additional information below.

Original issue reported on code.google.com by hudro...@gmail.com on 15 Dec 2014 at 4:06

GoogleCodeExporter commented 9 years ago
Steps
1. Any activity is showed on the screen
2. An EditText view is on the activity
3.Using solo.typetext(R.id.edittext1, "something"); try to type text to 
edittect field.

Original comment by hudro...@gmail.com on 15 Dec 2014 at 4:10

GoogleCodeExporter commented 9 years ago
You can either use the view or index. So solo.typetext(R.id.edittext1, 
"something"); will not work as you have entered the resource id. 

Original comment by renasr...@gmail.com on 18 Dec 2014 at 5:28

GoogleCodeExporter commented 9 years ago
sorry, I made a mistace.
I used 

EditText view = (EditText)solo.getView(R.id.etMessage);
solo.typeText(view, "mess");

Nothing happens when run solo.typetext(view, "mess")

Original comment by hudro...@gmail.com on 19 Dec 2014 at 12:33