UITest.Create Method (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates a new UITest by deserializing XML using the given filename.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration (in Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.dll)

Syntax

'Declaration
Public Shared Function Create ( _
    uitestFile As String _
) As UITest
'Usage
Dim uitestFile As String
Dim returnValue As UITest

returnValue = UITest.Create(uitestFile)
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

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.UITest
A new UI test object.

Exceptions

Exception Condition
[FileNotFoundException]

The provided filename is invalid.

.NET Framework Security

See Also

Reference

UITest Class

UITest Members

Create Overload

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace