To accomplish this, you can wrap the three lines of code produced by the recorder into a separate method in your test script.
要完成这项操作,可以将记录器生成的三行代码封装到测试脚本的某个单独方法中。
The recording step involves navigation of these pages and closing the browser based on which the RPT recorder automatically generates the TestSample script.
这个记录步骤包括这些页面的导航以及关闭这个浏览器,基于这个浏览器,RPT记录器会自动产生testsample脚本。
The recorder then initiates generation of the TestSample script (Figure 8).
然后这个记录器会开始 TestSample 脚本的产生(图 8)。
应用推荐