How to conduct database testing with selenium webdriver?



How to conduct database testing with selenium webdriver?..

Answer / Shailesh Garg

Database testing with Selenium WebDriver is not directly possible because it's a tool for UI testing. However, you can perform database testing by combining Selenium with a database testing tool like DBUnit or TestLink. First, you would execute your test cases with Selenium to insert data into the application's database. Then, you would compare the resulting database state with an expected database snapshot using the database testing tool.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

How do you attach File on a page?

1 Answers   HCL,


How to handle a dropdown in selenium webdriver? How to select a value from dropdown?

1 Answers  


How can we clear a text written in a textbox?

1 Answers  


Which automation tools can be used for post-launch validation with continuous integration?

1 Answers  


Which is the command used for displaying the values of a variable into the output console or log?

1 Answers  


What is the framework?

1 Answers  


Write a code to wait for a particular element to be visible on a page. Write a code to wait for an alert to appear.

1 Answers  


How to invoke an application in webdriver?

1 Answers  


What is a fundamental difference between xpath and css selector?

1 Answers  


How to delete cookies in selenium?

1 Answers  


Explain how you can switch between frames?

1 Answers  


Explain in selenium ide how can you debug the tests?

1 Answers  


Categories