nado
2 years agoOccasional Contributor
check points for changeable values
Hey Guys, I have a question about property checks. During my testing I want to check the date which is always changing from day to day or the name of my document which is also changing according ...
- 2 years ago
A good starting point would be to read Checkpoints. Also, see Working With Dates too.
If you have a file called 'Test_20231127.txt', then you can create a function to generate the filename
currentDate = aqDateTime.Today() dateFormat = aqConvert.DateTimeToFormatStr(currentDate, "%Y%m%d") fileName = 'Test_' + dateFormat
which you can then use to perform comparison later