Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITestElement::AssignIsRunnable Method (Boolean, String^)

 

Assigns values for the IsRunnable and ErrorMessageForNonRunnable properties.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

void AssignIsRunnable(
	bool runnable,
	String^ errorMessage
)

Parameters

runnable
Type: System::Boolean

true if the element is runnable; otherwise, false.

errorMessage
Type: System::String^

A message for the test framework to use if the element is not runnable.

Return to top
Show: