ποΈ Introducing USoft Web Benchmark
Web Benchmark is a tool for testing web pages developed in USoft Web Designer. It allows you to:
ποΈ Getting started with Web Benchmark
To get started with USoft Web Benchmark, add the Web Benchmark control to your web application:
ποΈ The Web Benchmark control
USoft Web Benchmark is controlled by the Web Benchmark control. This control is a ribbon made up of a series of clickable icons and a dropdown list box:
ποΈ Web Benchmark control properties
The Web Benchmark control runs with a number of property settings that determine its runtime behavior.
ποΈ Recording a Web Benchmark test
Once you have the Web Benchmark control added to your application, you can begin recording tests. Recorded tests can be used within other tests using the Invoke icon, allowing you to use (short) tests as sub-procedures of other, larger tests.
ποΈ Playing a Web Benchmark test
While a test is played back, the entire application is made inaccessible to prevent you from influencing the test run by accidently navigating away or changing a value, except when user input is prompted. User input is prompted when:
ποΈ Pausing a Web Benchmark recording
While recording a test, you can pause the recording, perform any number of actions that will not be recorded, and then resume recording.
ποΈ Stopping a Web Benchmark recording
To end a recording, click Stop:
ποΈ Invoking a Web Benchmark test
As part of a test recording, you can invoke another test recorded earlier, that runs in the first test as a sub-procedure.
ποΈ Delaying a Web Benchmark test
While recording a test, you can insert a number of seconds of waiting time. Each time the test is played back (in any playback mode), this number of seconds will elapse before the test moves to the next action.
ποΈ Editing a test
Clicking Edit:
ποΈ Web Benchmark test editing: Identifying target controls and their properties
Target controls
ποΈ Using variables in a Web Benchmark test
You can use test variables in a number of ways. Most importantly, variables allow you to:
ποΈ Web Benchmark Profiler: Running the profiler for a test
The profiler is the component of Web Benchmark that records and lists duration results for the analysis of performance. It allows you to:
ποΈ Web Benchmark Profiler: Viewing test runs of a test
By clicking View runs:
ποΈ Web Benchmark Profiler: Overview of test runs
By clicking Overview:
ποΈ Web Benchmark Profiler: Comparisons
You can view a comparison between test runs of a selected test.
ποΈ Selecting a Web Benchmark test
You can select a test in the Current test dropdown list box in the middle of the Web Benchmark control.
ποΈ Saving a Web Benchmark test
You can save a test recording, with a varying degree of permanence, to the local repository, to browser storage, and to an external XML file:
ποΈ Managing Web Benchmark tests
You can manage recorded tests by clicking Manage tests:
ποΈ Web Benchmark settings
Clicking the Settings icon:
ποΈ Test automation with Web Benchmark
Normally you run your tests via the Web Benchmark control and its profiler dialog, but this isnβt automated, i.e. you have to click on everything yourself. However, with a few simple scripts, you can automate most of these actions yourself. In this section we offer a simple manual on how to set up automated test execution.