Forum Discussion

Gra_Nap's avatar
Gra_Nap
New Contributor
5 years ago
Solved

Calculate a dynamic value each test

Hi there!   I would like to use a variable which should be calculated each test.  For example, I would like to use a particular date (e.g. 01.05.2019). I choose the "Keys" operation and set 0...
  • AlexKaras's avatar
    5 years ago

    Hi,

     

    Something like this (untested pseudocode):

    var strDT = aqConvert.DateTimeToFormatStr(aqDateTime.AddMonths(aqDateTime.Now(), 1), '%d.%m.%Y');

    <control>.Keys(strDT);