RobotiumTech / robotium

Android UI Testing
http://www.robotium.org
Apache License 2.0
2.86k stars 786 forks source link

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

Closed renas closed 9 years ago

renas commented 9 years ago

From hqfk...@gmail.com on September 10, 2014 08:55:03

What steps will reproduce the problem? 1. make a listView which has a text as 'abc+def'

  1. use clickOnText to click on that text
  2. 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: http://code.google.com/p/robotium/issues/detail?id=631

renas commented 9 years ago

From renasr...@gmail.com on September 10, 2014 22:10:57

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

Status: Invalid
Owner: renasr...@gmail.com