input
stringlengths 5
60
| output
stringlengths 5
60
| instruction
stringlengths 41
1.18k
|
---|---|---|
Initialize | Initialize | This function is used to initialize the XML Configuration file by giving label of Mouse & Serial as parameter. It has parameters mouse lable inside particular vendor. Serial label holds parameters of serial label. Mouse label should be passed as default. This function should return outputdata bool as success string status message. |
Initialize | Initialize | This function is used to initialize the XML Configuration file by giving label of Mouse as parameter for software simulation. |
sendkeyboardtext | sendkeyboradtext | This function is used to simulate the keyboard events to the DUT/ AUT with the user given text. |
sendkeyboardtextfile | sendkeyboardtextfile | This function is used to simulate the keyboard events to the DUT/ AUT with the text which is available in the user specified text file. |
sendkyeboardspecialkey | sendkyeboardspecialkey | This funciton is used to simulate the keyboard events to the DUT/ AUT with the user given special key.This has parameters keycode which holds data In special keyformat. Bool is release key. delay - Parameter to hold the delay in milliseconds for special key to be transmitted |
sendkeyboardspecialkey | sendkeyboardspecialkey | This funciton is used to simulate the keyboard events to the DUT/ AUT with the user given special key,numberoftimes,delay as parameter.parameter to hold key in special key format. Delay in miliseconds. Numberoftimes to hold the number of time to transmit the data.bool IsBlocking
If the provided user key values need to be in blocking state then user need to specify as TRUE, else FALSE(Optional)
By default IsBlocking will be true.
When Isblocking is false then the status of the task execution is read using the API- TaskExecutionStatus:
|
sendkeyboardcombinations | sendkeyboardcombinations | This funciton is used to simulate the keyboard events to the DUT/ AUT with the user given key combinations. |
sendkeyboardunicode | sendkeyboardunicode | This function is used to simulate the keyboard events to the AUT by giving Character code as parameter. |
taskexecutionstatus | taskexecutionstatus | This function is used to get the execution status for keyboard when execution happens in Non-blocking mode. |
Domouseaction | Domouseaction | This funciton is used to simulate the mouse events to the DUT/ AUT with the user given mouse actions. |
DomouseClick | DomouseClick | This function is used to simulate the mouse events to the DUT/ AUT with the user given mouse click actions at the current position. |
DoRealTimeMouseAction | DoRealTimeMouseAction | This funciton is used to simulate the mouse events to the DUT/ AUT with the user given mouse actions & coordinates at runtime. X Parameter to hold the x coordinate (Mandatory)
Y - Parameter to hold the y coordinate (Mandatory)
action
Parameter to hold the action to be transmitted (Mandatory)
List of possible Action:(Not CaseSensitive)
Left
Right
Middle
Move
bool IsSingleClick-
If the provided user mouse actions need to be single clicked then user need to specify as TRUE, else FALSE(Optional)
By default IsSingleClick will be true.
bool IsReleaseKey
If the provided user mouse actions 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 mouse actions to be transmitted
(Optional)
By default delay will be 0.
movetype - Parameter to hold the move type for mouse move to be transmitted
(Optional)
By default movetype will be Absolute.
List of possible Movetypes:(Not CaseSensitive)
Absolute
Relative
|
DoMouseScroll | DoMouseScroll | This funciton is used to simulate the mouse events to the DUT/ AUT with the user given scroll actions.. |
DoMouseDragDrop | DoMouseDragDrop | This funciton is used to simulate the mouse events to the DUT/ AUT with the user given coordinates for drag & drop actions. |
DoMouseDragDrop | DoMouseDragDrop | This funciton is used to simulate the mouse events to the DUT/ AUT with the user given coordinates at runtime for drag & drop actions. |
Release | Release | This funciton is used to simulate the release action for keyboard & mouse events to the DUT/ AUT with the user given action parameter.In this API,only mouse release action is supported for software simulation. It take action as input Parameter to hold the action to be transmitted (Mandatory). The output parameter is none
|
GetCommunicationStatus | GetCommunicationStatus | This function is used to perform the communication checking operation.This API is not supported for software simulation.No input and output parameters |
Reset | Reset | This function is used to reset the device
This API is not supported for software simulation.No input and output parameters
|
Disconnect | Disconnect | Hardware simulation:
This function used to disconnect the communication port.
Software simulation:
This function used to dispose the objects.
No input and output Parameters |
Create an object for KeyboardMouseController class | Create an object for KeyboardMouseController class | Object for KeyboardMouseController class which is under the name space Hcl.eDAT.Custom.Controller and pass the configuration file as a parameter. |
Initialize function with the mouse & serial label | Initialize function with the mouse & serial label | Call this function to initialize the XML Configuration file by giving the mouse & serial label as parameter. MouseLabel Parameter to hold the Mouse Label
SerialLabel Parameter to hold the Serial Label
|
Initialize with the mouse label | Initialize with the mouse label | Call this function to initialize the XML Configuration file by giving the mouse label as parameter.MouseLabel Parameter to hold the Mouse Label |
SendKeyboardText function with the value | SendKeyboardText function with the value | Call this function to simulate the keyboard events to the DUT/ AUT with the user given text file as input containing texts to be transmitted. value Parameter to hold the data in text format to be transmitted
delay - Parameter to hold the delay in milliseconds for text to be transmitted
|
SendKeyboardText with the value,NumberOfTimes,Delay | SendKeyboardText with the value,NumberOfTimes,Delay | Call this funciton is used to simulate the keyboard events to the DUT/ AUT with the user given text,value,numberoftimes and delay as parameter. value Parameter to hold the data in text format to be transmitted
NumberOfTimes Parameter to hold the number of times to repeat the value to be transmitted
DelayInMilliseconds Parameter to hold the delay in milliseconds for the data to be transmitted
bool IsBlocking If the provided user key values need to be in blocking state then user need to specify as TRUE, else FALSE(Optional).
By default IsBlocking will be true.
|
SendKeyboardTextFile | SendKeyboardTextFile | Call this function to simulate the keyboard events to the DUT/ AUT with the text which is avialallbe in the user specified text file. FilePath Parameter to hold the path of the file containing texts to be transmitted
delay - Parameter to hold the delay in milliseconds for file containg texts to be transmitted
|
SendKeyboardSpecialKey with the Keycode | SendKeyboardSpecialKey with the Keycode | SendKeyboardSpecialKey function with the Keycode. Keycode Parameter to hold the data in special key format to be transmitted
bool IsReleaseKey If release needs to be done, need to specify as TRUE, else FALSE
delay - Parameter to hold the delay in milliseconds for special key to be transmitted
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 keyboard key .This delay will apply each subaction of send special keyboard key. The minimum delay is 100ms require to send spcial. The maximum suggested delay is 3000ms.It supports single click only.
|
SendKeyboardSpecialKey with the Keycode, NumberOfTimes,Delay | SendKeyboardSpecialKey with the Keycode, NumberOfTimes,Delay | Call this function to simulate the keyboard events to the DUT/ AUT with the user given special key,numberoftimes,delay as parameter. Keycode Parameter to hold the data in special key format to be transmitted
NumberOfTimes Parameter to hold the number of times to repeat the value to be transmitted
DelayInMilliseconds Parameter to hold the delay in milliseconds for the data to be transmitted
bool IsBlocking If the provided user key values need to be in blocking state then user need to specify as TRUE, else FALSE(Optional).
By default IsBlocking will be true.
|
SendKeyboardSpecialCombinations | SendKeyboardSpecialCombinations | Call this function to simulate the keyboard events to the DUT/ AUT with the user given key combinations. value -Parameter to hold the data in combination format to be transmitted
delay - Parameter to hold the delay in milliseconds for combinations to be transmitted
|
SendKeyboardUnicode | SendKeyboardUnicode | Call this function to simulate the keyboard events to the AUT by giving Character code as parameter.Charcode - Parameter to hold the character code for unicode format |
TaskExecutionStatus | TaskExecutionStatus | Call this function to get the thread execution status for keyboard. |
DoMouseActions | DoMouseActions | Call this function to simulate the mouse events to the DUT/ AUT with the user given mouse actions. label - Parameter to hold the Mouse Label
action Parameter to hold the action to be transmitted
bool IsSingleClick- If single click needs to be done, need to specify as TRUE, else FALSE
bool IsReleaseKey If release needs to be done, need to specify as TRUE, else FALSE
delay - Parameter to hold the delay in milliseconds for mouse actions to be transmitted
movetype - Parameter to hold the move type for mouse move to be transmitted
bool isEventfunction-The default value is TRUE.
If isEventfunction is TRUE,the DoMouseActions function will use MouseEvent function to perform the mouse click operation.It is a default operation.
If isEventfunction is FALSE,the DoMouseActions function will use SendInput function to perform the mouse click operation.It will perform better than MouseEvent for mouseclick in some scenarios.User can use SendInput option when MouseEvent not performed well.It supports left single click,right single click,left double click,right double click operations only.The SendInput function supports movetype parameter value is Absolute only.
|
DoMouseClick | DoMouseClick | Call this function to simulate the mouse events to the DUT/ AUT with the user given mouse click actions at the current position. action Parameter to hold the action to be transmitted
bool IsSingleClick- If single click needs to be done, need to specify as TRUE, else FALSE
bool IsReleaseKey If release needs to be done, need to specify as TRUE, else FALSE
delay - Parameter to hold the delay in milliseconds for mouse actions to be transmitted
|
DoRealTimeMouseActions | DoRealTimeMouseActions | Call this function to simulate the mouse events to the DUT/ AUT with the user given mouse actions & coordinates at runtime. X Parameter to hold the x coordinate
Y - Parameter to hold the y coordinate
action Parameter to hold the action to be transmitted
bool IsSingleClick- If single click needs to be done, need to specify as TRUE, else FALSE
bool IsReleaseKey If release needs to be done, need to specify as TRUE, else FALSE
delay - Parameter to hold the delay in milliseconds for mouse actions to be transmitted
movetype - Parameter to hold the move type for mouse move to be transmitted |
DoMouseScroll | DoMouseScroll | Call this function to simulate the mouse events to the DUT/ AUT with the user given scroll actions. action Parameter to hold the action to be transmitted
NumberOfScrollTimes Parameter to hold the times to perform the scroll action
delay - Parameter to hold the delay in milliseconds for mouse actions to be transmitted
|
DoMouseDragDrop | DoMouseDragDrop | Call this function to simulate the mouse events to the DUT/ AUT with the user given coordinates for drag & drop actions. label - Parameter to hold the Mouse Label
delay - Parameter to hold the delay in milliseconds for mouse actions to be transmitted
|
DoMouseDragDrop | DoMouseDragDrop | Call this function to simulate the mouse events to the DUT/ AUT with the user given coordinates at runtime for drag & drop actions. X1 Parameter to hold the x1 coordinate
Y1 - Parameter to hold the y1 coordinate
X2 Parameter to hold the x2 coordinate
Y2 - Parameter to hold the y2 coordinate
delay - Parameter to hold the delay in milliseconds for mouse actions to be transmitted
|
Release | Release | Call this function to simulate the release action for keyboard & mouse events to the DUT/ AUT with the user given action parameter. action - Parameter to hold the action to be transmitted |
GetCommunicationStatus | GetCommunicationStatus | This function is used to perform the communication checking operation. |
Reset | Reset | This function is used to reset the device |
Disconnect | Disconnect | Call this function to disconnect the device from the port. |
Subsets and Splits