Current Date Verifiaction

2 posts, 0 answers
  1. Ritesh
    Ritesh avatar
    1 posts
    Member since:
    Jan 2012

    Posted 24 Feb 2012 Link to this post

    Hello,

    Is there any way in test studio to verify the date appearing in the date field is same as current system date without using any codded step?
  2. Ivaylo
    Admin
    Ivaylo avatar
    781 posts

    Posted 27 Feb 2012 Link to this post

    Hello Ritesh,

    Unfortunately without using codded step you cannot verify the date appearing in a date field with the current system date. In order to proceed you should use SetExtractedValue() function and Data Binding described in the following articles:

    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/extracted-variables-in-code.aspx 
    and
    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/verifications/data-bind-an-extraction-step.aspx 

    The coded step itself is quite simple and shouldn't be a problem for you to proceed. I am providing you an attachment with test example.

    Should you have any additional questions please let us know.

    All the best,
    Ivaylo
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top