Write Test Code
Follow the steps below to write test code from scratch.
.tsfile in a test directory or subdirectory. Right-click the directory in the Explorer panel and select New File from the context menu. In the New File dialog, specify the file name and click Create. TestCafe Stuido creates the test file and opens it in the Code Editor.
Write the test code. See the Test API topic in the open-source TestCafe documentation for information about the API used in tests.