要完成这项操作,可以将记录器生成的三行代码封装到测试脚本的某个单独方法中。
To accomplish this, you can wrap the three lines of code produced by the recorder into a separate method in your test script.
这个记录步骤包括这些页面的导航以及关闭这个浏览器,基于这个浏览器,RPT记录器会自动产生testsample脚本。
The recording step involves navigation of these pages and closing the browser based on which the RPT recorder automatically generates the TestSample script.
然后这个记录器会开始TestSample脚本的产生(图8)。
The recorder then initiates generation of the TestSample script (Figure 8).
例如,下面的记录器命令包含调用脚本名(本例中为“rollout”)以及消息somethinghashappened。
For example, the following logger command contains the calling script name (" rollout "in this example) with the message something has happened.
宏记录器记录你的行动,由此产生的编辑脚本,脚本转换成exe文件等等。
Macro Recorder records your actions, edits the resulting scripts, converts scripts to EXE files and more.
宏记录器记录你的行动,由此产生的编辑脚本,脚本转换成exe文件等等。
Macro Recorder records your actions, edits the resulting scripts, converts scripts to EXE files and more.
应用推荐