JustinL22
3 years agoContributor
Verify text with changing data
Hi,
I am creating a test where I need to verify some specific text is present so I am using the checkpoint wizard to verify the text. However in the middle of the text will be a date that will show whichever date the test is run so can change each time I run it and therefore the checkpoint fails. So for example I want to verify the text shows 'This is a test on 01/12/2022' but the next time I run it the text shows 'This is a test on 01/01/2023'.
The rest of text other than the date will always say the same so how can I check that but also cater for the date changing and always being todays date?
Thanks