Posts

Showing posts from December, 2017

Create Unit/Regression test case using Selenium

Image
In this post, I am going to explain you how to automate the testing of web application using the selenium. There are 2 ways of doing this. Use Selenium IDE plugin. Only available in Mozilla. Write the custom test cases using selenium Let me explain you both the options in detail. Selenium IDE                 The plugin is available on Mozilla. You can add it and start recording the test cases. It is very simple and easy to understand. Type in the website URL for which you are recording the test cases. Click on the RED button on top right of the screen. Perform the test action on the site. In the background, selenium IDE will record your test and when you complete the test cases, click on the RED button again to stop recording. You can test the test case by clicking on the “Play” button and you have the leverage to slow and fast the execution of the test case. Cu...

Randomly Select Data Rows From Sql Database

If your requirement is to select random records from SQL database, you can do with the help of below sql statement select top 1 * from tableName order by NEWID ()