Use Regex in Verification

4 posts, 0 answers
  1. Chandresh
    Chandresh avatar
    41 posts
    Member since:
    May 2015

    Posted 01 Jun 2015 Link to this post

    Hi,

     

    I want to verify footer information of my site using verify command in TestStudio ide. Let say my footer information is like "Demo version 1.20.01 Copyright 2015". 

    I have a version number stored in global variable in Utility class.

     

    How can I use Regex to verify this in one statement with global variable ?

     

    Thanks,

    Chandresh Parmar

  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 04 Jun 2015 Link to this post

    Hello Chandresh,

    This request is not Test Studio related, you can learn how to build your regex using this website.

    Thank you for your understanding.

    Regards,
    Ivaylo
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Chandresh
    Chandresh avatar
    41 posts
    Member since:
    May 2015

    Posted 09 Jun 2015 in reply to Ivaylo Link to this post

    Hello Ivaylo,

    Thanks for the reply. I resolved this by created Coded Step instead of using regular step and it worked as I wanted.

     

    Thanks,

    Chandresh

  4. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 09 Jun 2015 Link to this post

    Hello Chandresh,

    Glad to hear you were able to resolve this.

    Regards,
    Ivaylo
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top