Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-spd
Commits
17ea3e5e
Commit
17ea3e5e
authored
Aug 07, 2023
by
xiao-hesheng
Browse files
添加ui自动化demo
parent
1ef5b8fb
Changes
3
Hide whitespace changes
Inline
Side-by-side
air_case/demo-ui/demo-spd3-login.air/demo-spd3-login.py
View file @
17ea3e5e
...
@@ -12,12 +12,6 @@ from selenium import webdriver
...
@@ -12,12 +12,6 @@ from selenium import webdriver
module
=
"demo-ui"
module
=
"demo-ui"
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"spd3_login_url"
)
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"spd3_login_url"
)
print
(
url
)
print
(
url
)
#打开前台系统
import
time
# url="http://spddev.cmic.com.cn/hospitaltest2/spd/\#/login?redirect=/paltform/info0/paltform/product/calatog/paltform/product/calatog"
chrome
=
webdriver
.
Chrome
()
chrome
=
webdriver
.
Chrome
()
chrome
=
commonFuc
().
openBrowser
(
url
,
chrome
)
chrome
=
commonFuc
().
openBrowser
(
url
,
chrome
)
chrome
.
maximize_window
()
chrome
.
maximize_window
()
...
...
data/hosts
View file @
17ea3e5e
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
10.54.17.153 localproxy.baobaoshu.com
10.54.17.153 localproxy.baobaoshu.com
192.168.24.43 gerrit.mtmm.com
192.168.24.43 gerrit.mtmm.com
10.17.65.22 case.cmic.com.cn
10.54.50.90 sso.baobaoshu.com
10.54.50.90 sso.baobaoshu.com
8.131.247.52 docp.plt.babytree-inc.com
8.131.247.52 docp.plt.babytree-inc.com
\ No newline at end of file
report/summary.html
View file @
17ea3e5e
...
@@ -55,9 +55,9 @@
...
@@ -55,9 +55,9 @@
<tr
width=
"600"
>
<tr
width=
"600"
>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
0
</td>
<td
class=
'details-col-elapsed'
>
0分
1
2秒
</td>
<td
class=
'details-col-elapsed'
>
0分2秒
</td>
<td
class=
"details-col-elapsed"
>
10
0.0%
</td>
<td
class=
"details-col-elapsed"
>
0.0%
</td>
</tr>
</tr>
</table>
</table>
...
@@ -73,8 +73,8 @@
...
@@ -73,8 +73,8 @@
<tr
width=
"600"
>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/demo-spd3-login/log.html'
target=
'_blank'
>
demo-spd3-login
</a></td>
<td
class=
"details-col-elapsed"
><a
href=
'../log/demo-spd3-login/log.html'
target=
'_blank'
>
demo-spd3-login
</a></td>
<td
class=
"
success"
>
成功
</td>
<td
class=
"
fail"
>
失败
</td>
<td
class=
"details-col-elapsed"
>
1
2.6
9
7
</td>
<td
class=
"details-col-elapsed"
>
2.
3
67
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</tr>
</tr>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment