



# SAP
  
With this module you can automate SAP R3 and Hana. Perform every action that you can record with the tracker created by Stefan Schnell.  

*Read this in other languages: [English](README.md), [Português](README.pr.md), [Español](README.es.md)*

## How to install this module
  
To install the module in Rocketbot Studio, it can be done in two ways:
1. Manual: __Download__ the .zip file and unzip it in the modules folder. The folder name must be the same as the module and inside it must have the following files and folders: \__init__.py, package.json, docs, example and libs. If you have the application open, refresh your browser to be able to use the new module.
2. Automatic: When entering Rocketbot Studio on the right margin you will find the **Addons** section, select **Install Mods**, search for the desired module and press install.  


## Overview


1. LoginSap  
Open SAP application, establish the connection and login

2. Complete Login SAP  
Establish the connection and login

3. Connect  
Connect to an opened SAP application

4. Change Session  
Change to another session of a SAP connection

5. Execute an action  
Execute an action in SAP such as selecting, focusing or modifying the text of an element through different properties (setFocus, text, etc.)

6. Extract Text  
Extract the text of an object in SAP, using the text property

7. Extract text from tooltip  
Extract the text of an object tooltip in SAP

8. Check/Uncheck  
Mark or unmark an object in SAP

9. Extract Cell  
Extract the text in a cell, it can be with GetItemText or GetCellValue

10. Click Cell  
Click on a cell. It can be with clickCurrentCell, setCurrentCell or doubleClickCurrentCell

11. Run script  
Execute VBS script recorded with SAP

12. Get state checkbox  
Return True if checkbox is selected

13. Send key  
Replicate send key event

14. Get Property  
Get a property of the SAP Object especified

15. Wait for object  
Wait for object to be visible

16. Export file  
Export a file from SAP  




----
### OS

- windows
- docker

### Dependencies

### License
  
![MIT](https://camo.githubusercontent.com/107590fac8cbd65071396bb4d04040f76cde5bde/687474703a2f2f696d672e736869656c64732e696f2f3a6c6963656e73652d6d69742d626c75652e7376673f7374796c653d666c61742d737175617265)  
[MIT](http://opensource.org/licenses/mit-license.ph)