Use QARUN to climb the stairs through MSN

Source: Internet
Author: User

QARUN is a good function testing tool and is also a classic product of compuware, a veteran testing company. If you test the. NET application, use the testpartner upgraded version of QARun.

Their respective urls:

Http://www.compuware.com/products/qacenter/qarun.htm

Http://www.compuware.com/products/qacenter/375_ENG_HTML.htm

In order to deepen my understanding of qarun and testpartner, I thought of the example of msn crawling the stairs. This morning many people saw that my msn showed more than five online messages at the same time, in fact, I am working on a simple demo without being poisoned.

The principle of downloading the stairs in msn is that you change the msn status to offline when the connection is changed, and then bring it online. Your friends will be notified of the launch of Your msn. Further expansion: if this action is quickly iterated multiple times, multiple online notifications will be sent to you in a short time.

Qarun can record your actions, resend them, and add a loop. My recorded script:

Function Main


Count = 1


Repeat


Attach "MSN Messenger MainWindow"

MenuSelect "file (F )~ My status (M )~ Show as offline (F )"

Pause 1, 'seconds'



Attach "MSN Messenger MainWindow"

MenuSelect "file (F )~ My status (M )~ Online (o )"

Pause 1, 'seconds'

Count = count + 1

Until count = 10


End Function; Main

In the last sentence, this is just a demo that describes functional testing. Someone is also called monkey test. Please do not use it for malicious purposes.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.