As far as I understand you need to make a cross check between the actual data generated from the web application during the test and the database data. If this is so, i hope you will find the below notes useful:
- First thing to point to is the functionality to extract data from the page in run-time - that way you can take the current values of interest and store these into variables.
- Then, check how you can access the database in a coded step - we have examples for Oracle and SQL.
- And at the end, once you get the run-time data and that from the database, you can use the extracted variables in code as well in order to compare these.
Please, take your time to go through these resources and verify if these are sufficient for you to cover the current requirement. In case there are any questions, please, let me know.
Thanks in advance for your cooperation.