Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在单个测试计划中调用多个共享参数?我现在可以调用一个共享参数。如果我可以在单个测试计划中调用多个参数,那将很有帮助。
当您编写手动测试时,您通常希望指定测试应该使用不同的测试数据重复几次。例如,如果您的用户可以将不同数量的产品添加到购物车,那么您想要检查 200 的数量是否与 1 的数量一样有效。
为此,您在测试步骤中插入参数。除了测试步骤,您还提供了一个参数值表。当您将 Web 门户与 TFS 2015 及更高版本或 Azure DevOps 一起使用时,您还可以在测试用例之间共享参数及其数据。这样您就可以使用相同的数据运行多个测试用例。