Kitty2014 / robotium

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

ClickOnText() does not work on the text which contains a + sign #631

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  make a listView which has a text as 'abc+def'
2.  use clickOnText to click on that text
3.  The text is not found

What is the expected output? What do you see instead?
I can still click on that Text

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

Please provide any additional information below.
Maybe some special characters like + is not escaped properly when passed to 
ClickOnText method

Original issue reported on code.google.com by hqfk...@gmail.com on 10 Sep 2014 at 3:55

GoogleCodeExporter commented 9 years ago
ClickOnText() takes a regex so please use solo.clickOnText(Pattern.qoute("the 
string with +"));

Original comment by renasr...@gmail.com on 11 Sep 2014 at 5:10