https://github.com/bptlab/mdrpa_library
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.0%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: bptlab
- License: mit
- Language: RobotFramework
- Default Branch: main
- Size: 24.4 KB
Statistics
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Installation
The MdRPA Library has been made available on the official Python Package Index (PyPI), making it easy to install and integrate into your projects.
To install the library, you can use the following command in your terminal or command prompt:
shell
pip install mdrpaLibrary
For more detailed information and updates, you can visit the PyPI page of the MdRPA Library at: https://pypi.org/project/mdrpaLibrary/ Feel free to explore the library's documentation and features to enhance your Robotic Process Automation workflows.
Example Usage
Below is an example demonstrating how to leverage the capabilities of the MdRPA Library for your automation tasks. This example showcases the automation of a payroll process using the custom functions provided by the library.
```robotframework *** Settings *** Library mdrpaLibrary.modelDrivenRpa.ModelDrivenRpa
*** Variables *** ${FIRSTNAME} John ${LASTNAME} Doe ${EMAIL} john.doe@example.com ${MONTH} January ${SALARY} 5000
*** Test Cases *** Automate Payroll Process
${uiModels}= Get Ui Models http://localhost:8000/all-models (Your API END POINT)
Set Suite Variable ${uiModels}
Click Button Model Payroll payroll_homepage addButton ${uiModels}
Input Field Model Payroll add_payroll firstName ${uiModels} ${FIRSTNAME}
Input Field Model Payroll add_payroll lastName ${uiModels} ${LASTNAME}
Input Field Model Payroll add_payroll email ${uiModels} ${EMAIL}
Select From Dropdown Model Payroll add_payroll month ${uiModels} ${MONTH}
Input Field Model Payroll add_payroll salary ${uiModels} ${SALARY}
Select Checkbox Model Payroll add_payroll terms ${uiModels}
Click Button Model Payroll add_payroll addButton ${uiModels}
Close Workbook
```
Available Custom Functions
1. Click Button Model
The Click Button Model custom function in the ModelDrivenRpa library allows you to interact with UI elements in a streamlined and efficient manner. This function facilitates the process of clicking a button within a specific UI model or application.
robot
Click Button Model ${modelName} ${pageName} ${elementName} ${allModels}
Parameters
- ${modelName} (string): The UI model name or application name in which the button is located.
- ${pageName} (string): The name of the page or section containing the button element.
- ${elementName} (string): The name of the UI button element to be clicked.
- ${allModels} (list): A list containing all the UI models present in your database.
2. Input Field Model
The Input Field Model custom function in the ModelDrivenRpa library allows you to efficiently interact with input fields within UI models or applications. This function simplifies the process of entering data into input fields with a specified UI context.
robot
Input Field Model ${modelName} ${pageName} ${elementName} ${allModels} ${inputValue}
Parameters
- ${modelName} (string): The UI model or application name in which the input field is located.
- ${pageName} (string): The name of the page or section containing the input field element.
- ${elementName} (string): The name of the input field element to interact with.
- ${allModels} (list): A list containing all the UI models present in your database.
- ${inputValue} (string): The value to be entered into the input field.
3. Select From Dropdown Model
The Select From Dropdown Model custom function in the ModelDrivenRpa library empowers you to interact with dropdown elements within UI models or applications. This function simplifies the process of selecting an option from a dropdown menu with a specified UI context.
robot
Select From Dropdown Model ${modelName} ${pageName} ${elementName} ${allModels} ${selectedOption}
Parameters
- ${modelName} (string): The UI model or application name in which the dropdown element is located.
- ${pageName} (string): The name of the page or section containing the dropdown element.
- ${elementName} (string): The name of the dropdown element to interact with.
- ${allModels} (list): A list containing all the UI models present in your database.
- ${selectedOption} (string): The option to be selected from the dropdown.
4. Select Checkbox Model
The Select Checkbox Model custom function in the ModelDrivenRpa library empowers you to interact with checkboxes within UI models or applications. This function simplifies the process of toggling checkbox states with a specified UI context.
robot
Select Checkbox Model ${modelName} ${pageName} ${elementName} ${allModels}
Parameters
- ${modelName} (string): The UI model or application name in which the checkbox element is located.
- ${pageName} (string): The name of the page or section containing the checkbox element.
- ${elementName} (string): The name of the checkbox element to interact with.
- ${allModels} (list): A list containing all the UI models present in your database.
5. Get Ui Models
The Get Ui Models custom function in the ModelDrivenRpa library enables you to retrieve a list of UI models or applications that are available for automation. This function is particularly useful when you need to dynamically access and utilize UI models during your Robotic Process Automation (RPA) tasks.
robot
${uiModels}= Get Ui Models ${apiEndpoint}
Parameters
- ${apiEndpoint} (string): The endpoint URL of your own API that returns a list of available UI models.
License
Licensed under the MIT license.
Owner
- Name: Business Process Technology
- Login: bptlab
- Kind: organization
- Location: Potsdam, Germany
- Website: https://bpt.hpi.uni-potsdam.de
- Repositories: 37
- Profile: https://github.com/bptlab
Business Process Technology @ Hasso Plattner Institute, University of Potsdam
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0