Commit 17ea3e5e authored by xiao-hesheng's avatar xiao-hesheng
Browse files

添加ui自动化demo

parent 1ef5b8fb
...@@ -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()
......
...@@ -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
...@@ -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分12秒</td> <td class='details-col-elapsed'>0分2秒</td>
<td class="details-col-elapsed">100.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">12.697</td> <td class="details-col-elapsed">2.367</td>
<td class="details-col-elapsed">xiaohesheng</td> <td class="details-col-elapsed">xiaohesheng</td>
</tr> </tr>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment