locked
Regular Expressions in UI Control Map search property? RRS feed

  • Question

  • I know you can use .contains and such in the code, however is there a way to put regular expressions for a search or filter property through the UI Control Map?
    Friday, March 25, 2011 3:16 PM

Answers

  • Hi, No, there is no support for regular expressions in UI Control Map apart from .Contains.


    Thanks, Neeraja
    • Marked as answer by NickN87 Friday, March 25, 2011 5:47 PM
    Friday, March 25, 2011 5:33 PM
    Moderator

All replies

  • Hi, No, there is no support for regular expressions in UI Control Map apart from .Contains.


    Thanks, Neeraja
    • Marked as answer by NickN87 Friday, March 25, 2011 5:47 PM
    Friday, March 25, 2011 5:33 PM
    Moderator

  • Its understood that apart from .contains there is no way in UI control maps for regexp.

    Is there any other way to use the regular expression, to identity a control like from standard .net APIs?  can any one provide an example?

    like the one mentioned in the following blog,

    http://blogs.msdn.com/b/anutthara/archive/2009/08/19/using-regular-expressions-to-locate-controls-in-coded-ui-test.aspx

    Wednesday, December 12, 2012 11:41 AM