Creates a UI test by using the specified file.
Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Shared Function Create ( _
    uitestFile As String _
) As UITest
public static UITest Create(
    string uitestFile
)
public:
static UITest^ Create(
    String^ uitestFile
)
static member Create : 
        uitestFile:string -> UITest
public static function Create(
    uitestFile : String
) : UITest
Parameters
- uitestFile 
 Type: String- The file name for the file from which to create the test. 
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITest
A UI test object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.