[ { "output": "<|begin_of_text|>New keyboard object creation:\n\n$KBSimulation=New-Object Hcl.eDAT.Custom.Controller. KeyboardMouseController($Configuration_File)\n\nNew OCR object creation:\n\n$OCRModule\u00a0 = New-Object\u00a0Hcl.eDAT.Custom.Controller.OCRController($Configuration_File)\n\nNew image capture object creation:\n\n$ oImagecapture = New-Object\u00a0 Hcl.eDAT.Custom.Controller. ImageCaptureController ($configFile)\n\n\u00a0\n\nAPI name: SendKeyboardText\n\nDescription: This function is used to simulate the keyboard events to the DUT/ AUT with the user given text.\n\nSyntax: . SendKeyboardText(string value, UInt16 delay = 0)\n\nParameter (In):\u00a0 value \u2013 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.\n\nParameter (Out): None\n\nReturn Value: bool IsSuccess, string StatusMessage\n\nIsSuccess: Returns true if success else returns false.\n\nStatusMessage: Returns success message if true else returns the corresponding error message.\n\n\u00a0\n\nAPI name: SendKeyboardSpecialKey\n\nDescription: This funciton is used to simulate the keyboard events to the DUT/ AUT with the user given special key.\n\nSyntax: SendKeyboardSpecialKey(string Keycode, bool IsReleaseKey, UInt16 delay = 0, bool IsDelayRequired=false))\n\nParameter (In):\u00a0 Keycode \u2013 Parameter to hold the data in special key format (Mandatory), bool IsReleaseKey \u2013\u00a0 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.\n\nParameter (Out): None\n\nReturn Value: bool IsSuccess, string StatusMessage\n\nIsSuccess: Returns true if success else returns false.\n\nStatusMessage: Returns success message if true else returns the corresponding error message.\n\n\u00a0\n\nAPI name: OCRSingleRegionTextExtract\n\nSyntax: OCRSingleRegionTextExtract(string FilePath, string Label, string RegionLabel,\u00a0 out string ExtractedText)\n\nParameter (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.\n\nParameter (Out): ExtractedText contains the extracted text.\n\nReturn Value: Returns the outputdata, It contains the following properties.\n\n1. IsSuccess \u2013 if the text extracted successfully it will return \u201ctrue\u201d, if the extracted not successfully it returns \u201cFalse.\u201d\n\n2.StatusMessage \u2013 Status message in the string format\n\n\u00a0\n\nAPI name: GetPrintscreenImage\n\nSyntax: GetPrintscreenImage(string ImageSavePath)\n\nParameter (In): ImageSavePath: Parameter which holds the path of the image where the printscreen image to be saved.\n\nParameter (Out): None\n\nReturn Value\u00a0\u00a0\u00a0\u00a0\u00a0 Returns the outputdata with bool IsSuccess, string StatusMessage\n\nIsSuccess: Returns true if success else returns false.\n\nStatusMessage: Returns empty if true else returns the corresponding error message.\n\n", "instruction": "", "input": "" } ]