Infosys interview question

How to integrate database with test framework