How to Use the Visual Studio .NET Application Center Test

本文介绍了使用Microsoft Application Center Test进行应用测试的步骤。包括启动测试工具、创建新测试、选择脚本语言(默认VBScript)、开始录制操作,如浏览图书类别并将书加入购物车,最后停止录制并命名测试,还可查看基于操作生成的测试脚本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. Click Start, point to Programs, point to Microsoft Visual Studio .NET, point to Visual Studio .NET Enterprise Features, and then click Microsoft Application Center Test.
2. On the Actions menu, click New Test, and then click Next.
3. Click Record a new test, and then click Next.
4. Use the default script language. (The Application Object application programming interface [API] currently only uses VBScript.) Click Next.
5. Click Start recording. Microsoft Internet Explorer should open to a blank Web page. In the Address box, type the address to the Duwamish 7.0 VB Web application. This installs to a virtual directory, which is accessible when you type local host/Duwamish7vb in the Address box. Press ENTER.
6. You should now be at the Duwamish home page. For this test, you will record the steps involved in browsing to a book category and placing a book in the shopping cart. As you navigate around the Duwamish site, each server request is recorded by the Application Center Test. In the list of book categories, click Essays. Click Add to Cart for either of the Pick of the Day books.
7. In the Application Center Test New Test Wizard, click Stop recording, and then click Next. For the test name, type Buy Books. Click Finish.
8. In the left pane, click Buy Books. If they are not visible, expand both the ACTSamples and Tests nodes. The test script should be open in the code editor window. Scroll through it to see how VBScript is used with the Application Object API to generate test routines based on your recorded steps.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值