Documente Academic
Documente Profesional
Documente Cultură
This Document covers the description of SAP MetaBot DLL functions used while working on the Automation Anywhere MetaBot application.
MetaBot – SAP DLL Functions
Contents
Function 1: LoginWithNewSession..................................................................................................................................... 2
Function 2: LoginOnExistingSession ................................................................................................................................. 3
Function 3: SearchObjectByLocation................................................................................................................................. 4
Function 4: SeachObjectByID ............................................................................................................................................. 5
Function 5: SearchObjctByName ....................................................................................................................................... 6
Function 6: ExecuteLeftClick ............................................................................................................................................... 7
Function 7: ExecuteRightClick ............................................................................................................................................ 8
Function 8: ExecuteDoubleClick ......................................................................................................................................... 9
Function 9: ExecutePressButton ...................................................................................................................................... 10
Function 10: ExecuteClick ................................................................................................................................................. 11
Function 11: ExecuteSelectAction .................................................................................................................................... 12
Function 12: ExecuteSetTextAction ................................................................................................................................. 13
Function 13: ExpandNode ................................................................................................................................................. 14
Function 14: SelectNode.................................................................................................................................................... 15
Function 15: GetTotalRows ............................................................................................................................................... 16
Function 16: GetTotalColumns ......................................................................................................................................... 17
Function 17: SetSelectall ................................................................................................................................................... 18
Function 18: ExtractTableData ......................................................................................................................................... 19
Function 19: ExecuteGetTextAction................................................................................................................................. 20
Function 20: ExecuteEnterkey .......................................................................................................................................... 21
Function 21: SetFocus ....................................................................................................................................................... 22
Function 22: ExecuteMaximize ......................................................................................................................................... 23
Function 23: ExecuteKey ................................................................................................................................................... 24
Function 24: ExecuteCheckAction ................................................................................................................................... 25
Function 25: GetObjectFromPoint .................................................................................................................................... 26
Function 26: GetAllSAPObjectProperties ........................................................................................................................ 27
Function 27: GetSAPObjectProperties ............................................................................................................................ 28
Function 28: DisConnectSAPSession ............................................................................................................................. 29
Function 29: CloseAndDisConnectAllExistingSession .................................................................................................. 30
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 1
MetaBot – SAP DLL Functions
Function 1: LoginWithNewSession
Parameters:
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 2
MetaBot – SAP DLL Functions
Function 2: LoginOnExistingSession
Parameters:
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 3
MetaBot – SAP DLL Functions
Function 3: SearchObjectByLocation
Parameters:
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 4
MetaBot – SAP DLL Functions
Function 4: SeachObjectByID
Parameters:
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 5
MetaBot – SAP DLL Functions
Function 5: SearchObjctByName
Parameters:
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 6
MetaBot – SAP DLL Functions
Function 6: ExecuteLeftClick
Function Details: Execute left-click action on Output when left click is performed:
the searched object
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 7
MetaBot – SAP DLL Functions
Function 7: ExecuteRightClick
Function Details: Execute right-click action on Output when right click is performed:
the searched object
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 8
MetaBot – SAP DLL Functions
Function 8: ExecuteDoubleClick
Function Details: Execute double-click action Output when double-click is performed on the object located
on the searched object by the function SearchObjectById():
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 9
MetaBot – SAP DLL Functions
Function 9: ExecutePressButton
Function Details: Execute press button action Output when press button action is performed:
on the searched object
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 10
MetaBot – SAP DLL Functions
Function Details: Execute click action on the Output when click is performed:
searched object
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 11
MetaBot – SAP DLL Functions
Function Details: Execute select action on the Output when select action is performed:
searched Combo-Box or list view control based
on Index
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 12
MetaBot – SAP DLL Functions
Parameters:
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 13
MetaBot – SAP DLL Functions
Function Details: Expand a node from the tree view For example:
Parameters:
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 14
MetaBot – SAP DLL Functions
Function Details: Select a node from the tree view For example:
Use the SelectNode function to select “Logistics
Return Type: String Execution” node after expanding “Logistics” node, and
enter the node value from the root.
Parameters:
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 15
MetaBot – SAP DLL Functions
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 16
MetaBot – SAP DLL Functions
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 17
MetaBot – SAP DLL Functions
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 18
MetaBot – SAP DLL Functions
Parameters:
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 19
MetaBot – SAP DLL Functions
Function Details: Get text value for the searched GUI Control
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 20
MetaBot – SAP DLL Functions
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 21
MetaBot – SAP DLL Functions
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 22
MetaBot – SAP DLL Functions
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 23
MetaBot – SAP DLL Functions
Parameters:
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 24
MetaBot – SAP DLL Functions
Function Details: Select check boxes or radio buttons True: Enter the value as 1
False: Enter the value as 0
Return Type: Bool
Parameters:
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 25
MetaBot – SAP DLL Functions
Parameters:
X Int X co-ordinate
Y Int Y co-ordinate
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 26
MetaBot – SAP DLL Functions
Function Details: Collect all properties of the SAP Output when this function is performed:
GUI object
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 27
MetaBot – SAP DLL Functions
Parameters:
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 28
MetaBot – SAP DLL Functions
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 29
MetaBot – SAP DLL Functions
633 River Oaks Parkway San Jose, CA 95134 (San Jose address) 30