autopilot
latest
false
Autopilot 用户指南
- 入门指南
- 最佳实践
- 数据隐私
- Autopilot Chat
- 正在生成自动化
- 正在生成测试
- Autopilot for Everyone
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
Autopilot 功能,用于从自然语言、注释或现有代码生成编码自动化。
Autopilot 可帮助您从文本和现有代码或 Test Manager 中创建的手动测试用例生成编码自动化。
从文本和现有代码生成编码自动化
在新的或现有的编码自动化中,您可以使用 Autopilot 通过自然语言、自动化中的注释或现有代码行生成代码。使用Ctrl + Shift + G快捷键或 Autopilot 图标生成代码。
从手动测试生成编码自动化
将桌面版 Studio 连接到 Test Manager 后,导航到测试资源管理器并搜索您的手动测试。 在这里,您可以选择以下其中一种场景来为其生成编码测试用例:
-
使用创建编码测试用例创建一个编码测试用例,以注释的形式显示步骤。 。然后提示 Autopilot 根据注释生成代码。
-
使用使用 Autopilot 生成编码测试用例直接生成功能齐全的编码测试用例。
Refer to Creating a coded test case from a manual test case and Generating coded test cases using AI for more information about generating test cases.
最佳实践
For guidance on writing effective prompts, and on using object repositories and naming conventions when converting text or manual tests into code, see: