1.data.txt
账号,密码
2.demo.yaml
-
name: xuzhu
age: '14'
sexual: male
hobby:
- 机车
- 泰拳
- 拳击
address:
长沙: xxx
3.login.yaml
-
common:
url: http://39.98.138.157/shopxo/index.php?s=/index/user/logininfo.html
accounts:
by: name
value: accounts
password:
by: name
value: pwd
button:
by: xpath
value: //button[text()="登录"]
assert_text:
expected: 退出
by: link text
value: 退出
sleep: 5
username: sixiaoyou
pwd: xxx
4.search.yaml
-
url: http://39.98.138.157/shopxo/index.php
input:
by: id
value: search-input
txt: 手机
click