SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Points for Confirmed Friends
    Guest

    Today\'s date per suite

    We have assigned the QARun ''today's date'' to a date that the user should key in one of our scripts. We want to include this script in a suite.
    Is it possible to assign the value of ''today's date'' per suite ?


  2. #2
    Points for Confirmed Friends
    Guest

    Re: Today\'s date per suite

    If I understand you correctly the following may help.

    Firstly set up a variable to assign todays date to, ie Tdate.
    Get the system date, use function
    Date(). Ie result = date()

    use QA string manipulation functions to extract the date in the format you require.
    I.e. LtrimStr() and RtrimStr() come in very handy for this.

    Assign the required output to a variable and pass it as a unique parameter to any functions/test suites necessary .

    regards, Simon Wellington.



 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 13.64%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:12 PM.

Copyright BetaSoft Inc.