Vsts for testers Reading Notes (11)

Source: Internet
Author: User
5. webtest Viewer
2. Verify webtest
 

• After a web test is recorded, running the test and verifying that the web test is correctly recorded is the method for determining whether the web test is successful. • When a test with a fixed record can run successfully, you can add verification rules, Extraction Rules, data binding, and other custom settings. • Verify the web test process: run the Web Test and check the feedback in the two panes of the Web Test viewer. Use the upper pane of the Web Test viewer to identify all problematic requests. Perform a quick visual inspection on the request by using the "Web Browser" tab in the lower pane. Use the "request, response, and details" pane to check all issues related to URLs, return code, page redirection, and subordinate requests. Some types of problems that may cause request failure include:
URL called through JavaScript
ActiveX Control
Applet
Because the recorder can only record requests from the web browser, all the above situations will cause problems. If you encounter one or more of the preceding problems, you can manually add necessary requests to the recorded web test. It may be complicated to determine which requests must be added. Consider the following suggestions when solving the preceding problems:
Use NetMon and other network analysis tools
Check Application Web logs
Check application source code

3. Set webtest
The running settings in the Web Test viewer consist of the following options:

If you perform changes in the Web Test viewer, only the running settings are applied to one web test run. These changes are not retained when you save the test.
To retain any changes, you must change the properties on the Web Test tab of the run configuration dialog box. If you change the properties in the running configuration, these attributes are retained and applied to all web tests in this test project.
The webtest running setting can be opened in two places: one is the button in the webtest viewer and the other is in the localtestrun. testrunconfig file of the test project.



4. Run the web test using the command line
• Mstest/testcontainer: webtest1.webtest

• Mstest.exe is a command line command used to run the test. You can use several options of this command to customize the test run. Multiple options can be used together. In fact, you must use specific options with other options • MS-help: // Ms. msdnqtr. v80.chs/MS. msdn. v80/MS. vsent. v80.chs/dv_vsetlt01/html/8813ba7f-e790-4e92-9f91-7080508a1c36.htm

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.