Selenium Challenging Scenario: Compare UI data with Database table

This can be explained as a Challenging Scenario in interviews as below:

“UI-DB validation: I faced a scenario where I had to fetch the account numbers from the UI application and I had to validate that the accounts which are displayed in the UI page is matching with the corresponding data base table.”

Use existing Cucumber Frame work to do this test case. FW kept here:

Note: try to do this on your own using the existing framework. DB methods are already part of the framework so you have to reuse them. Some of the step defs in below feature file is already implemented, so check which step defs is not there and only implement them.

I will provide the solution in couple of days.

Feature file to be Automated. 


Leave a Reply