Add a standalone code file to create a utility class that defines a set of methods which perform common, often re-used functions. The code item can be used also as a helper class which can assist in providing some extended functionality for your test project.
1. Right click on the project in the Project Explorer or on a folder in the project and click Add New Code File.
2. Choose the coding language.
3. Code file with Class1 name is created under the selected location. You can rename it by pressing F2 or through the context menu.
4. You can access that file in all tests within the test project.