Badboy运行脚本

参考:

http://leafwf.blog.51cto.com/872759/1112128

http://www.51testing.com/html/00/130600-1367743.html

1.录制脚本 - 登录

1)创建Suite:1 Login

2)增加Test:1.1 Login from mail.qq.com

3)增加Step:1.1.1 Quick login successfully when QQ is online

4)电脑本地登录qq,登录成功后,在网址栏中输入mail.qq.com,点击回车。

5)点击图像快速登录,邮箱被打开。

6)点击按钮,停止录制。(Preference->General中,默认选中了Enable Recording on Startup,因此打开Badboy时,recording是打开的)

2.录制脚本 - 写邮件

1)创建Suite:2 Write a mail

2)增加Test:2.1 Text only

3)增加Step:2.1.1 Valid input successfully

4)点击N,切换到Navigation模式,点击,开启录制

5)点击“写信”,输入联系人,主题及正文内容

6)点击,停止脚本录制。

3.录制脚本 - 发送邮件

1)创建Suite:3 Send a mail

2)增加Test:3.1 Send

3)增加Step:3.1.1 Send Successfully

4)点击发送

 4.录制脚本 - 播放

1)点击右键,选择Play the whole suite

2)或者点击工具栏的Play all按钮

原文地址:https://www.cnblogs.com/sophia194910/p/5197952.html