ITmi.AddTest(ITestElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the provided test to the UI of Visual Studio Test Professional.
public:
Microsoft::VisualStudio::TestTools::Common::ITestElement ^ AddTest(Microsoft::VisualStudio::TestTools::Common::ITestElement ^ test);
public Microsoft.VisualStudio.TestTools.Common.ITestElement AddTest (Microsoft.VisualStudio.TestTools.Common.ITestElement test);
abstract member AddTest : Microsoft.VisualStudio.TestTools.Common.ITestElement -> Microsoft.VisualStudio.TestTools.Common.ITestElement
Public Function AddTest (test As ITestElement) As ITestElement
Parameters
- test
- ITestElement
An ITestElement object.
Returns
The added test element.