Creating a web test is similar to any other test in Visual Studio. There are three different ways to create a new web test:
1. Select the test project, right click, and choose Add. Then select the option Web test from the context menu.
2. Select the menu option Test and choose New Test… which opens the Add New Test window and it contains the different test type templates.
3. Select the menu option Test and choose Windows and then select the Test View, which opens the test view window listing all the available tests. Right-click on the surface of the Test View window to open the context-menu. Choose the New Test option which opens the Add New Test window.
4. After selecting one of the above three, select the Web Test template from the list of different test types.
Once you select the Web Test and click OK you can see the test getting added to the selected test project and a new instance of a web browser opens. The browser contains the Web Test Recorder in the left pane.