instruction
stringclasses
1 value
input
stringclasses
1 value
output
stringclasses
1 value
<|begin_of_text|>New keyboard object creation: $KBSimulation=New-Object Hcl.eDAT.Custom.Controller. KeyboardMouseController($Configuration_File) New OCR object creation: $OCRModule  = New-Object Hcl.eDAT.Custom.Controller.OCRController($Configuration_File) New image capture object creation: $ oImagecapture = New-Object  Hcl.eDAT.Custom.Controller. ImageCaptureController ($configFile)   API name: SendKeyboardText Description: This function is used to simulate the keyboard events to the DUT/ AUT with the user given text. Syntax: <object>. SendKeyboardText(string value, UInt16 delay = 0) Parameter (In):  value – Parameter to hold the data in text format to be transmitted (Mandatory), delay - Parameter to hold the delay in milliseconds for text to be transmitted (Optional). By default, delay will be 0. Parameter (Out): None Return Value: bool IsSuccess, string StatusMessage IsSuccess: Returns true if success else returns false. StatusMessage: Returns success message if true else returns the corresponding error message.   API name: SendKeyboardSpecialKey Description: This funciton is used to simulate the keyboard events to the DUT/ AUT with the user given special key. Syntax: <object> SendKeyboardSpecialKey(string Keycode, bool IsReleaseKey, UInt16 delay = 0, bool IsDelayRequired=false)) Parameter (In):  Keycode – Parameter to hold the data in special key format (Mandatory), bool IsReleaseKey –  If the provided user key values need to be released then user need to specify as TRUE, else FALSE(Optional), By default IsReleaseKey will be true, delay - Parameter to hold the delay in milliseconds for special key to be transmitted(Optional), By default delay will be 0. IsDelayRequired -Its default value is false. If IsDelayRequired parameter is false, then no delay will apply for sending special keyboard key. If IsDelayRequired parameter is true, then delay will apply for sending special key. This delay will apply for each sub action (Keypress Down and Up) of send special key. The minimum delay is 100ms require to send special key. The maximum suggested delay is 3000ms. It supports single click only. Parameter (Out): None Return Value: bool IsSuccess, string StatusMessage IsSuccess: Returns true if success else returns false. StatusMessage: Returns success message if true else returns the corresponding error message.   API name: OCRSingleRegionTextExtract Syntax: <object>OCRSingleRegionTextExtract(string FilePath, string Label, string RegionLabel,  out string ExtractedText) Parameter (In): Filepath - This parameter contains the physical file path, Label - This parameter contains the configured OCRsettings label, RegionLabel - This parameter contains the configured Region Label name. Parameter (Out): ExtractedText contains the extracted text. Return Value: Returns the outputdata<object>, It contains the following properties. 1. IsSuccess – if the text extracted successfully it will return “true”, if the extracted not successfully it returns “False.” 2.StatusMessage – Status message in the string format   API name: GetPrintscreenImage Syntax: <object> GetPrintscreenImage(string ImageSavePath) Parameter (In): ImageSavePath: Parameter which holds the path of the image where the printscreen image to be saved. Parameter (Out): None Return Value      Returns the outputdata<object> with bool IsSuccess, string StatusMessage IsSuccess: Returns true if success else returns false. StatusMessage: Returns empty if true else returns the corresponding error message.