database - Where does Selenium gets its data to test the units? -


when using selenium data generated testing units? use same database instance project working on or new database should created?

selenium used

automates browsers. that's it!

so design how test framework handle data flows. example if decide go data-driven approach allow automatically run test case multiple times different input , validation values.

your selenium code interacts sut's web ui, doesn't care db used. seleniumhq recommend going database-validation when designing tests. mainly, records retrieved database , later compared against ui.

it highly desirable use sandboxed db, dedicated entirely automation tests. depends on how environments set up. using in-memory db hazelcast speed things lot.


Comments

Popular posts from this blog

Add new key value to json node in java -

javascript - Highcharts Synchronized charts with missing data points -

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -