From b2493260acac5f36f5feca79feb0f6fa57bf17f8 Mon Sep 17 00:00:00 2001 From: lily Date: Tue, 26 Feb 2019 11:40:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9README.md=E7=9A=84=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 177 ++++++++++++-------------------------------- README.md | 6 +- 2 files changed, 52 insertions(+), 131 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b0a8b3c..08a9ccc 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,10 +2,8 @@ - - - - + + @@ -189,31 +154,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - @@ -436,7 +376,7 @@ - + @@ -499,9 +439,7 @@ - - - + @@ -515,9 +453,7 @@ - - - + @@ -529,9 +465,6 @@ - - - @@ -541,43 +474,17 @@ - - - - - - - + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -588,23 +495,37 @@ - + - - + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + diff --git a/README.md b/README.md index 1f8f607..6c22332 100644 --- a/README.md +++ b/README.md @@ -30,17 +30,17 @@ python3+Selenium+unittest+HTMLTestRunner+pageObject Web自动化测试框架 * run.py 执行run.py文件可以执行全部测试用例 -###生成的测试报告例子如下所示 +### 生成的测试报告例子如下所示 ![](https://raw.githubusercontent.com/linyuli861/Automated-Test/master/z-README-image/report.png) -###发送邮件如下所示: +### 发送邮件如下所示: 调用common中的sendEmail,向指定邮箱发送最新的测试报告文件 ![](https://raw.githubusercontent.com/linyuli861/Automated-Test/master/z-README-image/email.jpg) -###PageObject设计模式 +### PageObject设计模式 由于Web页面自动化测试的过程中会存在许多重复的元素,且很多Web页面测试的元素值不稳定,经常变更, 为了使得Web页面自动化测试的代码更具有健壮性,因此使用PageObject设计模式, 将web自动化测试的测试用例和测试用例中需要使用到的元素解耦。