If you do this to each worksheet item your test case script looks similar to Listing 6.
如果您对每个工作表条目这样做,您的测试脚本看起来类似于列表6。
When it comes to the letter grade on your test or homework, you might notice that there is no letter. Have you ever thought about why that is so?
当涉及到你的考试或家庭作业的字母分数时,你可能会注意到没有字母。你想过为什么会这样吗?
You have to submit your test scores, and you have to write some essays, like why you want to go to Brown.
你必须提交你的成绩单,还要写一些文章,例如你为什么想去布朗大学。
As before, we assume that your test server is using port 9082.
和前面一样,我们假设您的测试服务器使用的端口为9082。
Create reports, queries, and charts to analyze your test results.
创建报告,查询,以及图表来分析您的测试结果。
Helper classes allow you to add functionality to your test scripts.
助手类允许您将功能添加到您的测试脚本中。
By adding a delay to your test, you can control the Web service calls.
通过在您的测试中添加一个延迟,您能够控制Web服务调用。
Listing 11 shows the result containing keywords for your test web page.
清单11展示了结果,其中包含所测试web页面的关键词。
You should avoid trying to select data for all of your test cases at once.
您应当避免一次选择您所有的测试用例中的数据。
Note that your results may vary depending on when you record your test.
注意你的结果依据你记录测试的时间不同将有所变化。
Consider these best practices when recording and splitting your test scripts.
当您在记录和分割测试脚本时,考虑一下以下的最佳实践方式。
For comparison, your test page will also illustrate some built-in tooltips.
为了进行对比,测试页面还提供一些内置的工具提示。
You should see your test case added to the list in the section detail (Figure 9).
您将会在段落细节中看到添加至列表的测试用例(图 9)。
I don't recommend converting your test suites to annotations and JUnit 4 just yet.
我不推荐现在就将您的测试套件转换成注释和JUnit4。
Then you could have your test automation read, parse, and use the data in this file.
然后您可以让您的测试自动化读取、解析和使用该文件中的数据。
If you arrive late, you may not be admitted and your test fee will be forfeited.
如果迟到,你可能不会被准许入场并且考试费不再退还。
Think about some of the ways you can use data-driven testing in your test automation.
考虑一下能在您的自动化测试中使用的一些数据驱动测试的方式。
Write your test cases first, and write only enough code to make your test case pass.
首先编写测试用例,并且只编写足以让测试用例通过的代码。
You could have specified your test using a query string instead of just the task name.
您可以使用查询字符串(而不是仅使用任务名称)来指定测试。
Think about your test planning process today, and the tools that you use to support it.
现在考虑一下您的测试计划过程,以及您用于支持它的工具。
Then, your test case makes changes to the database and tests the results of those changes.
然后,测试用例对数据库进行修改,并测试这些修改的结果。
This important step tests your test case, verifying that your test case fails when it should.
这一重要步骤将测试您的测试用例,检验测试用例是否在应当失败的时候失败。
You can improve the robustness of your test by randomizing the selection of titles to search.
通过对要搜索的标题进行随机选择,可以提高测试的稳健性。
After producing all your test cases, you can set traceability from scenarios to test cases.
在产生了全部的测试用例以后,你可以设置从场景到测试用例的追踪。
To add or remove modules from your test configuration, you can also use the configuration TAB.
要向测试配置添加或从中删除模块,您还可以使用Configuration选项卡。
In your test framework, you can load the Seam container programatically and then run the tests.
在测试框架中,开发者能按步骤地加载Seam容器,然后运行测试。
When your test scenario has completed, stop the recording, and the test script will be generated.
当您的测试完成时,请停止记录,随后测试脚本将会自动产生。
Take a note of the Partner Reference name; you will need this when your test invokes the service.
请记下合作伙伴引用名称;在测试调用服务时将用到此名称。
If your test server USES port number 9081, you can update it right here in the properties view.
如果测试服务器使用端口号9081,您可以在此处的属性视图中更新它。
Try setting the port to be 9081 or look at your test server Settings to determine the correct port.
尝试将端口设置为9081,或看一下您的测试服务器设置,以确定正确的端口。
应用推荐