hellofenghao / robotium

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

solo.enterTextInWebElement cant send "" chars #599

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I use

solo.clickOnWebElement(id_elent);
solo.enterTextInWebElement(id_elent, "\"\""); 

I need add only chars "" ( Not empty text). but solo sended empty string.

What wrong?

Original issue reported on code.google.com by leonid.veremchuk on 26 Apr 2014 at 2:40

GoogleCodeExporter commented 9 years ago
What happens if you use solo.typeTextInWebElement?

Original comment by renasr...@gmail.com on 6 May 2014 at 8:19

GoogleCodeExporter commented 9 years ago
I try enter " character, but string in EditText is empty. 

Original comment by leonid.veremchuk on 6 May 2014 at 4:13

GoogleCodeExporter commented 9 years ago
With enterText we set the web element field to the String entered. With 
typeText we type a string. Please use the rules for strings to be able to 
perform your action. 

Original comment by renasr...@gmail.com on 9 Jun 2014 at 8:25