From 7c69c6b2554e1b8a2a7bd834ba849fbcec4b0cc0 Mon Sep 17 00:00:00 2001 From: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> Date: Mon, 21 Aug 2023 14:19:33 +0000 Subject: [PATCH 01/22] update README.en.md. Signed-off-by: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> --- README.en.md | 83 +++++++++++++++++++++++++++++----------------------- 1 file changed, 47 insertions(+), 36 deletions(-) diff --git a/README.en.md b/README.en.md index 0a162fc..afdf0ab 100644 --- a/README.en.md +++ b/README.en.md @@ -1,38 +1,49 @@ -# 小北原创UI自动化高阶框架selenium+pytest - -#### Description +# 小北原创UI自动化高阶框架selenium+pytest + +#### Description 免费开源的高级selenium自动化框架,开箱即用,复用性高,可适用任何web项目中 原创作者:小北 -微信:xiaobei_upup - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +微信:xiaobei_upup + +#### Software Architecture +Software architecture description + +# Installation 需要安装的库,一键运行pip3 install -r requirement.txt即可 + + 注意网络不好容易报错,报错之后重新安装即可, + selenium + pytest + allure-pytest + 多线程并发执行用例插件 + pytest-xdist + 失败重跑的插件 + pytest-rerunfailures + 图片处理相关的库 可以理解为PIL + pillow + 文件上传的识别文件资源管理器的库 + pywinauto + 图片验证码识别的库 + ddddocr + +#### Instructions + +1. xxxx +2. xxxx +3. xxxx + +#### Contribution + +1. Fork the repository +2. Create Feat_xxx branch +3. Commit your code +4. Create Pull Request + + +#### Gitee Feature + +1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md +2. Gitee blog [blog.gitee.com](https://blog.gitee.com) +3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) +4. The most valuable open source project [GVP](https://gitee.com/gvp) +5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) +6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) -- Gitee From 3310ac65f9fd4ea9bc3de2fb1a6112cf94d0f8b1 Mon Sep 17 00:00:00 2001 From: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> Date: Mon, 21 Aug 2023 14:24:03 +0000 Subject: [PATCH 02/22] update README.md. Signed-off-by: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> --- README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e395636..1a150e2 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,22 @@ 软件架构说明 -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx +# 安装教程 :需要安装的库,只需要一键运行 pip3 install -r requirement.txt即可 + + 注意网络不好容易报错,报错之后重新安装即可, + selenium + pytest + allure-pytest + 多线程并发执行用例插件 + pytest-xdist + 失败重跑的插件 + pytest-rerunfailures + 图片处理相关的库 可以理解为PIL + pillow + 文件上传的识别文件资源管理器的库 + pywinauto + 图片验证码识别的库 + ddddocr #### 使用说明 -- Gitee From c91f190f5b70d5c4b4f10ca74e83d07ef0a296b8 Mon Sep 17 00:00:00 2001 From: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> Date: Mon, 21 Aug 2023 14:24:18 +0000 Subject: [PATCH 03/22] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20RE?= =?UTF-8?q?ADME.en.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 README.en.md diff --git a/README.en.md b/README.en.md deleted file mode 100644 index afdf0ab..0000000 --- a/README.en.md +++ /dev/null @@ -1,49 +0,0 @@ -# 小北原创UI自动化高阶框架selenium+pytest - -#### Description -免费开源的高级selenium自动化框架,开箱即用,复用性高,可适用任何web项目中 -原创作者:小北 -微信:xiaobei_upup - -#### Software Architecture -Software architecture description - -# Installation 需要安装的库,一键运行pip3 install -r requirement.txt即可 - - 注意网络不好容易报错,报错之后重新安装即可, - selenium - pytest - allure-pytest - 多线程并发执行用例插件 - pytest-xdist - 失败重跑的插件 - pytest-rerunfailures - 图片处理相关的库 可以理解为PIL - pillow - 文件上传的识别文件资源管理器的库 - pywinauto - 图片验证码识别的库 - ddddocr - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) -- Gitee From 723cc66f48b3a50a3e2c9c2c4f542b0f0bb1e892 Mon Sep 17 00:00:00 2001 From: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> Date: Tue, 22 Aug 2023 15:31:01 +0000 Subject: [PATCH 04/22] update README.md. Signed-off-by: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1a150e2..3d19519 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,10 @@ ddddocr #### 使用说明 - -1. xxxx -2. xxxx -3. xxxx +1、先安装对应的库,只需要一键运行 pip3 install -r requirement.txt 即可 +2、再下载对应的webdriver浏览器驱动: https://registry.npmmirror.com/binary.html?path=chromedriver/ +3、再配置浏览器驱动解压文件夹的环境变量 +4、pycharm中运行项目即可,或者项目目录下命令行输入pytest即可运行 #### 参与贡献 -- Gitee From 32f2192a4e586e7039e35b9f588b1e7379e2bc9b Mon Sep 17 00:00:00 2001 From: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> Date: Tue, 22 Aug 2023 15:34:28 +0000 Subject: [PATCH 05/22] update README.md. Signed-off-by: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3d19519..192d7f9 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,10 @@ ddddocr #### 使用说明 -1、先安装对应的库,只需要一键运行 pip3 install -r requirement.txt 即可 -2、再下载对应的webdriver浏览器驱动: https://registry.npmmirror.com/binary.html?path=chromedriver/ -3、再配置浏览器驱动解压文件夹的环境变量 -4、pycharm中运行项目即可,或者项目目录下命令行输入pytest即可运行 +1. 这里是列表文本先安装对应的库,只需要一键运行 pip3 install -r requirement.txt 即可 +2. 这里是列表文本再下载对应的webdriver浏览器驱动: https://registry.npmmirror.com/binary.html?path=chromedriver/ +3. 这里是列表文本再配置浏览器驱动解压文件夹的环境变量 +4. 这里是列表文本pycharm中运行项目即可,或者项目目录下命令行输入pytest即可运行 #### 参与贡献 -- Gitee From adbe920db999a59df8c8b6a280abffffec713608 Mon Sep 17 00:00:00 2001 From: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> Date: Tue, 22 Aug 2023 16:44:48 +0000 Subject: [PATCH 06/22] update README.md. Signed-off-by: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 192d7f9..309492a 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,10 @@ 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) -# run testcases +# run all testcases pytest # run allure report -pytest --alluredir ./reports testcases/pytest/test_search_baidu_index.py +pytest --alluredir ./reports testcases/ # start up serve to browse report allure serve ./reports # run pytest to choose which you want to run -- Gitee From 3af397a45a4d06275efac6c8ea731362663da49a Mon Sep 17 00:00:00 2001 From: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> Date: Tue, 22 Aug 2023 17:05:22 +0000 Subject: [PATCH 07/22] update README.md. Signed-off-by: shiyinyi <6508077+shi_yin_yi@user.noreply.gitee.com> --- README.md | 6 +++++- .../888f3f9e1e8bd0a003aac3d204afaa8.jpg | Bin 0 -> 95292 bytes ...35\346\224\257\344\273\230\347\240\201.jpg" | Bin 0 -> 150758 bytes ...41\346\224\257\344\273\230\347\240\201.jpg" | Bin 0 -> 120886 bytes 4 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 screenshots/888f3f9e1e8bd0a003aac3d204afaa8.jpg create mode 100644 "screenshots/\346\224\257\344\273\230\345\256\235\346\224\257\344\273\230\347\240\201.jpg" create mode 100644 "\345\276\256\344\277\241\346\224\257\344\273\230\347\240\201.jpg" diff --git a/README.md b/README.md index 309492a..bfcef92 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,11 @@ #### 介绍 免费开源的高级selenium自动化框架,开箱即用,复用性高,可适用任何web项目中 原创作者:小北 -微信:xiaobei_upup +微信:xiaobei_upup 扫码可添加作者答疑 + +#### 捐赠小北喝瓶水 :sunglasses: + + #### 软件架构 软件架构说明 diff --git a/screenshots/888f3f9e1e8bd0a003aac3d204afaa8.jpg b/screenshots/888f3f9e1e8bd0a003aac3d204afaa8.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b3552106b7b62fbd50c4a416f494f6a16646e1ea GIT binary patch literal 95292 zcmbSz1z1#D*YMDYgvcNr3djH=(oznnv~;(ENJ%#cLkQ|fry?cYh;%F69TL*rox|{- z;i}hr-+SNZ{eFB7=djN{d#}Cr>b;id-_EB%S7aolB|vCsAP^ex4|F~TdH}-4#KOkH z#Ky+L#=*hH#k+!scj*!yn2-qn3K^K3oD6*J8YK-A9VHb5^|fpCx9AyeGPAI
KHxKq#+KLjKP`=U+g?xL8*(N-)rFfY6E2Fo@C48$fgb
zoLFcVKcF8!Xy_OKyg0a*@Gb)#im!ms(J(O3F)^^PFfoDN9>9ALCNb94>zrcPBuYFl>(2Ax7rIy92=8*alp8jOFT>G@jT#OE`-
zE07cbb#C5bK1NU;BbFAGX1-o@UP1gtS%l3mamvyqKT%}lt9q-fsMC+Us`F$SVi~1Z
z&P_wRd8mXBtcZ0xvWD}h&@j21aC^WABvDpLiNF`MRwLKyAxHw=O2ReQfocFkIelJK
zI=?mtAE&>}X2Tnj2?t^dIxzp>)zq6&?MhYvsi@eSZ_
zd<7*#MIyu?Ptcom3Fi0Ma!M4!?PqvbkmkeOAui}OgJ>8SM}sw-g@7o1%I0G03fC4Z
zhl;13a4Z@`y7vq(HXHitLfr5(TzCKN2La#*Oj4fSVA8*Hqv$!CbBDM780y@W=c5hF
zq~NyD`*N-G-{Hh6VQ=@ZC*1aS4N-aJ+^#R)~2SLLy30ZAju{gCe614wRU-(R|SR+
zW=O&iVtMwnc4oQF&QF7
z#KBs;H~#ycAMv+9WmYZ9yVF3;uXpmHcp#>x5-HBi5I0$Lkjq#KbAZwJq+zB2S-oYv
zXyUu>