Forum Discussion

blacy's avatar
blacy
Contributor
10 years ago

Database checkpoints

I created a keyword test and created a database checkpoint which has a date field. Each time I run my test the database checkpoint fails on the date field as it is dynamic. Questions are:

 

1) how can I change my database checkpoint to always compare last updated date on the DB table?

 

or

 

2) How could a put a parameter or variable in my database checkpoint that would always compare last updated date inserted into the database table

 

or

 

3) I would be happy with just verifing that the date field is not null. How could I do this in TC database checkpoint

 

My feeling is the date will always fail as it is dynamic. Trying to figure out alternatives

 

 

  • NisHera's avatar
    NisHera
    Valued Contributor

    you can write small script and call it from KDT

    please refer this