要配置 Web 应用程序的测试,您需要使用“每个步骤脚本工具“记录测试脚本。 您可以创建新脚本、从现有测试将脚本导入“每个步骤脚本工具记录器”或从本地计算机上载脚本。

录制的脚本

该字段显示使用每个步骤脚本工具录制的脚本。 要编辑脚本,请单击“编辑脚本”按钮,然后修改脚本

脚本模式

此字段显示在脚本、设备类型和录制分辨率中选择的浏览器类型。

完成超时(以秒为单位)

Enter the time in seconds you expect your script should be completed in case you would like to receive an error if this threshold is exceeded. 

There are several default system timeouts:

Navigation timeout 120 seconds By default, the system will wait for 120 seconds to complete navigation to a web page. If navigation isn’t completed in 120 seconds the action is aborted and error is generated.  The script execution will continue.
User Action timeout 50 second The system will wait for 50 seconds to complete a user action (click, select, etc.). If the user action isn’t completed in 50 seconds the action is aborted and error is generated. The script execution will continue.
Script Execution timeout 15 minutes By default, the system will wait for script execution result fro 15 minutes. If the script execution is not finished in 15 minutes it will be aborted. Script execution is fully aborted either on a successful run or in case of reaching the timeout.

创建脚本后,必须配置负载测试方案