RE: Selenium Database Testing
Suppose in a database i have 100 records,I want the Database to select a random number from the database and get its respective records, and print it onto the web page.(i.e Registration Page,Database should find a random number from database, and print its further details like name,address onto the web page).All that i want to be under a selenium Script.Can you guys please help me out with the right approach to do that.
You can use java ibatis framework, just follow below link for sample project
Above framework executes and store result in List for query like select regNo,Registration_Page, name,address from table 1;
then u can used them in any way in your program.