Giter VIP home page Giter VIP logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
If you use "\\" before the text then special characters will not be taken into 
account. So basically you could use searchText("\\" + text). Many people like 
to use regex when doing searches so that is a feature that we can not remove. 
However I do agree that sometimes regex support can be annoying.


Original comment by [email protected] on 16 Oct 2010 at 2:32

  • Changed state: WontFix

from robotium.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
Hi, 

I am a Black Box tester.

Is there any possibility to search a particular test in a particular location.

For Example,

I am having 3 details like S.No, Name, Grade..

S.No     1
Name     Mano
Grade    A 

"1" should be present parallel to S.NO 
"Mano" should be parallel to Name..etc...

i used to test that using assertTrue(solo.searchText("Mano"));

Is there any possibility ?

Thanks in advance

Original comment by [email protected] on 10 May 2011 at 5:47

from robotium.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
Hi,
I am in the situation where I "need" to verify the presence of a special char 
string. So using searchtext fails.
What should I use here?

Thanks,
Amar.

Original comment by [email protected] on 22 Feb 2012 at 12:59

from robotium.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
@Amar

I have something where I have $ and want to assert a price shows. 

   Assert.assertTrue(solo.searchText("$18,044.49")); 

doesn't work but if you use \\ before it does.

  Assert.assertTrue(solo.searchText("\\$18,044.49"));

Original comment by [email protected] on 17 May 2013 at 4:35

from robotium.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
Issue 480 has been merged into this issue.

Original comment by [email protected] on 4 Jul 2013 at 7:15

from robotium.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
For issue 480:
Shall i give this way
solo.clickOnText("\\"+"inf-raven720p-sample Divx+WMA9.2Lossless.avi");
its not working.

Giving "\\" in between the text is not possible in my case as i am taking the 
inputs from a text file.


Original comment by [email protected] on 4 Jul 2013 at 8:56

from robotium.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
You can also use Pattern.quote

Original comment by [email protected] on 4 Jul 2013 at 9:16

from robotium.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
thanks its working now

Original comment by [email protected] on 5 Jul 2013 at 5:51

from robotium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.