ITestElement.AssignIsRunnable(Boolean, String) 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.
Assigns values for the IsRunnable and ErrorMessageForNonRunnable properties.
public:
void AssignIsRunnable(bool runnable, System::String ^ errorMessage);
public void AssignIsRunnable (bool runnable, string errorMessage);
abstract member AssignIsRunnable : bool * string -> unit
Public Sub AssignIsRunnable (runnable As Boolean, errorMessage As String)
Parameters
- runnable
- Boolean
true if the element is runnable; otherwise, false.
- errorMessage
- String
A message for the test framework to use if the element is not runnable.