using Regex in Test studio for validating the content value

2 posts, 0 answers
  1. Deepeka
    Deepeka avatar
    1 posts
    Member since:
    Aug 2012

    Posted 12 Sep 2012 Link to this post

    Hi ,

    I am new for Telerik and was trying with regex but was not clear enough.
    Had tried from Elements menu ->Build verification Tab. 

    Please give me example of regex as not able to provide verification for this -
    as per my application i am trying to add validation where i want to check the "Name" column content Value "Test Group Type1",
    also check screenshot attach for the same.

    or please let me know other than regex what we can use in test studio for such kind of verification.

  2. Plamen
    Plamen avatar
    8 posts

    Posted 17 Sep 2012 Link to this post

    Hi Deepeka,

    Thank you for evaluating Test Studio. According to your explanation and looking the screenshot, you are trying to verify the test content of a Grid Cell. However you didn't specify what type of Grid or Table you are testing. Is it a Silverlight or an Html? Is it a generic control or a RadControl? Please give us as much info as possible.

    Instead of using regex (which are always overly complex) you can use our testing framework capabilities to accomplish your scenario. See this video for an example with similar verification against this HTML5 DataGrid demo.

    If you continue to have difficulty, please provide us with a direct access to your application or point us to similar publicly accessible application and we'll be glad to assist you with the desired verification. If you feel that information is sensitive, you can re-open your support ticket 604868 and provide the info there. Support tickets are confidential unlike forum threads.

    If you nevertheless want to use a Regular Expressions, there's plenty of info online. Here is an example. You can use them with Test Studio using the same syntax.

    the Telerik team
    Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
    Vote now
Back to Top