Forum Discussion

jhall68w's avatar
jhall68w
Contributor
4 years ago
Solved

Verifying on screen contents by comparing DB to UI

We have 4 different environments, with each environment having multiple databases. Each database could/will have different data, but all in the same structure   What I am trying to do is find a wa...
  • Marsha_R's avatar
    4 years ago

    I would do it this way (but written in your code)

     

    For each line in the database

        read the SearchItem info

        for each item on the UI

              add one to UICount if item = SearchItem

        compare UICount to SearchItemCount to verify

     

    If each of your databases have the same structure and the UI is the same, then this should work for any of them