ITestElement.AssignIsRunnable(Boolean, String) Method

Definition

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.

Applies to