Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Badboy Automated Test tool 4 runs scripts

2025-03-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

First, let's use N mode to record a script with the test case number 2.1.1 successfully sending only text messages to QQ contacts.

one。 Record the script:

1. Create a Suite named 1 Log in

two。 The Test is named 1.1 Login from Mail.qq.com

3. Add a Step named 1.1.1 Quick login successfully When QQ is online to 1.1

The effect picture is as follows:

4. After logging in to QQ successfully

5. Click->

6. Quick login

7. Mail page expansion

8. Click the Record button to stop recording

9. Expand all scripts under Login

The effect picture is as follows. As can be seen from the screenshot, Badboy does not recognize the Chinese characters read from the database. This does not matter and does not affect the continued recording of the script.

10. Create a Suite named 2 Write a mail

11. The Test is named 2.1Text Only.

twelve。 Add a Step to 1.1named 2.1.1 Valid input Successfully

13. To start recording in N mode, click

14. Click to write a letter and enter a valid QQ contact, subject and body content

15. Click to stop script recording

The current Badboy effect is as follows:

16. Create a Suite named 3 Send a mail

17. The Test is named 3.1Send (No Schedule)

18. Add a Step named 3.1.1 Send Successfully to 3.1

19. Click to send

20. Prompt sent successfully

21. Click sent

twenty-two。 The mail was sent successfully

The current Badboy effect is as follows:

23. Save the script and name it QQ Mail

24. In the saved directory, a file with the Badboy icon appears with the suffix bb

Run the script:

There are two ways to run the script: 1 right-click on the Script Tree, you can choose to run all or run the clicked unit

2 through the toolbar

Run the steps:

1. Right-click Login, select Play Whole Suite, or click > >

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report