I am new to selenium and I am using selenium to do the testing but I am confused right now.
For example, the website I am working on contains lots of data, however all of them are from database. Users need to click some buttons or select values from drop down list, then the front-end with send request with these parameters. Database will return different values due to different parameters. After front-end receives these values, front-end will process them to graphs or show them directly.
I used selenium to complete the click or select parts, but how can I verify the data come from the database? use SQL with selenium code? But I heard that selenium should not do this. I thought about data-driven, but it seems the only part i can use is login part. Can someone tell my what kinds of things that selenium should test? Or in my case, selenium is not a good choice at all.
I am sorry. Although I know this question is too board, but I really need some advice.