From 0416024885bc2888b0a3cc82f5a3122f7c57fc06 Mon Sep 17 00:00:00 2001 From: jerrylizilong Date: Fri, 16 Nov 2018 10:29:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=20atx=20=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=90=AF=E5=8A=A8=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d458f8..21cf08f 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,24 @@ python core.py - 需结合selenium grid 或 selenium docker 作为节点进行具体执行载体。 +## 3. 启动atx core服务: +``` +python atx_core.py +``` + + +- 基于atx 进行封装,从数据库中读取需要执行的测试用例,并转化、执行、记录测试结果及截图。 +- 需安装atxserver(https://github.com/openatx/atx-server),并修改 app/config.py 文件的以下内容: + +``` +# atx 配置 +isUseATX=True # True 代表使用 atx +ATXHost = 'http://172.16.100.168:8002' # 对应的 atxserver 地址 +``` + + + + ## 安装步骤: ### 1. clone 或下载代码包到本地解压: ``` @@ -86,11 +104,16 @@ python run.py 此时可通过访问 localhost:5000 访问登录界面。 初始用户及密码: admin/0 -### 2. 启动 core service(selenium 的执行服务): +### 2.1 启动 core service(selenium 的执行服务): ```python python core.py ``` +## 2.2. 启动atx core服务: +``` +python atx_core.py +``` + ### 3. selenium 接入