Does Selenium supports Database testing? If yes, how to do it?
+4
A:
A browser testing tool is not the right tool for database testing. For that you use a regular unit testing framework, as all database access is within your serverside code.
Unless of course your database access is browser based, in which case you have bigger problems than choosing a test framework.
Tom Clarkson
2010-04-13 04:48:38
I am using Junit database is MYSQl.
sujata
2010-04-13 05:22:28
+1
A:
If you want to connect to a database, use DB connection APIs, for example JDBC for Java.
Rajasankar
2010-04-13 10:48:55
A:
Consider using TestPlan which allows you to combine Web UI testing with custom Java test units. Those test units can then access your DB and use it in the UI scripts.
edA-qa mort-ora-y
2010-04-23 11:02:15