LegiTest: Creating a Database Connection





The interactive transcript could not be loaded.


Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Dec 13, 2018

These steps will show you how to create a database connection using LegiTest.

Open up a LegiTest project and take a look at your toolbox which will show the available assets you can create. If you do not see the toolbox, click the link on the right side of your page. The link may be in a different location on your system.

Double-click the first option (ADO.NET Connection) in the toolbox to create an ADO.NET connection.

Click the ADO.NET asset and choose a database provider appropriate for the database you’re connecting to. The provider can be selected using the ‘Provider’ drop-down on the left-hand side. For this example, we will use the SqlClient Data Provider.

Click the ‘Configure’ button.

Choose a server to connect to, how to log on to the server, and a database to connect to. For this example, we will use our local server using Windows Authentication and connect to the HigherEd database. Click ‘OK.’

Click ‘Test Connection’ to validate it is successful.

You can rename your asset by selecting it and hitting F2 on your keyboard.

Learn more at www.legitest.com


to add this to Watch Later

Add to

Loading playlists...