first commit
This commit is contained in:
49
README.md
Normal file
49
README.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# RPA-robot
|
||||
|
||||
基于 [RPA Framework](https://rpaframework.org/) 的机器人流程自动化项目。
|
||||
|
||||
## 项目结构
|
||||
|
||||
```
|
||||
RPA-robot/
|
||||
├── tasks/ # Robot 任务文件
|
||||
│ ├── main.robot # 主任务入口
|
||||
│ └── example_task.robot # 示例任务
|
||||
├── resources/ # 可复用的资源文件
|
||||
│ ├── common.resource # 通用关键字
|
||||
│ └── variables.py # 变量定义
|
||||
├── libraries/ # 自定义 Python 库
|
||||
│ └── __init__.py
|
||||
├── data/ # 测试/业务数据
|
||||
├── output/ # 运行输出(日志、报告)
|
||||
├── requirements.txt # Python 依赖
|
||||
└── README.md
|
||||
└── main.py #运行主文件
|
||||
└──config.py # 配置主文件
|
||||
```
|
||||
|
||||
## 环境准备
|
||||
|
||||
```bash
|
||||
# 创建虚拟环境
|
||||
conda env create -f environment.yaml
|
||||
conda activate rpa-robot
|
||||
rfbrowser init
|
||||
|
||||
## 运行任务
|
||||
|
||||
```bash
|
||||
python .\main.py feishu-chat
|
||||
```
|
||||
|
||||
## 输出说明
|
||||
|
||||
运行后会在 `output/` 目录生成:
|
||||
- `report.html` - 测试报告
|
||||
- `log.html` - 详细日志
|
||||
- `output.xml` - 结构化输出
|
||||
|
||||
## 配置说明
|
||||
```bash
|
||||
config.py 配置文件中有 FEISHU_GROUPS = [] #配置飞书群名
|
||||
```
|
||||
Reference in New Issue
Block a user