ZennoLab Assemblies Documentation
ErrorDetected Property (Emulator)
Example 
Gets information about the error detected in the performance last command.
Syntax
public static bool ErrorDetected {get;}

Property Value

Type: System.Boolean

true if error detected in the performance last command; otherwise, false.

Example
The following code example demonstrates uses of the ErrorDetected property.
// send the text
string result = Emulator.SendText("Window", 200, 200, "it's a simple text for send");
// if error detected
if (Emulator.ErrorDetected) return "Fail";
return "Text was sent";
// send the text
$result = ZennoLab\Emulation\Emulator::SendText("Window", 200, 200, "it's a simple text for send");
// if error detected
if (ZennoLab\Emulation\Emulator::ErrorDetected) return "Fail";
return "Text was sent";
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

Emulator Class
Emulator Members
ActiveWindow Method
ButtonClick Method
CloseWindow Method
MouseClick Method
MouseMove Method
SendKey Method
SendText Method

Send Feedback