[Direct Chat][Software] Write Auto Test Scripts / 生成自動化測試腳本

English / 中文

Goal:Utilize DaVinci to rapidly create content for automated test scripts.
Reference File:N/A

The Prompt to DaVinci


Prompt

You possess Python language skills and knowledge of computer networking, as well as experience in testing routers and gateways. Please refer to the existing test cases {{test case content}} and their corresponding automated test scripts {{automation script}}, and write the corresponding automated test scripts according to the following new test case content.

```

{{test case content}}

```

 

Tips

Inform DaVinci of the role it is to play, providing Example as a reference for its subsequent content generation

image-20240502-100239.png

 

DaVinci Output Result


Result

image-20240430-034211.png

目的:利用 DaVinci 快速生成自動化的測試腳本內容
Reference File:N/A

提示 DaVinci 的範例


Prompt

你具備 Python 語言能力和電腦網路知識,也具備路由器和閘道測試經驗。請參考已有的測試用例 {{用例內容}} 及其對應的自動化測試腳本 {{自動化腳本}},按照以下的新測試用例內容寫出對應的自動化測試腳本

```

{{新用例內容}}

```

 

解題思路

告知 DaVinci 扮演的角色,提供 Example 作為它後續生成內容的參考

 

DaVinci 輸出結果範例


Result