如何在Pycharm中调试机器人框架的测试案例?

发布于 01-19 05:56 字数 406 浏览 4 评论 0原文

我无法在 Pycharm 社区版本中调试 Robot Framework 的任何测试用例。有没有像eclipse一样通过断点启动调试的简单方法?

我尝试使用此处提供的说明进行设置: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360007703060-Debugging-python-code-when-running-Robot-Framework-tests 但它不起作用。

I am unable to debug any test case of Robot Framework in Pycharm Community version. Is there any simple way to start the debugging through breakpoints like eclipse?

I tried to set up with the instruction provided here : https://intellij-support.jetbrains.com/hc/en-us/community/posts/360007703060-Debugging-python-code-when-running-Robot-Framework-tests but its not working.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

故人爱我别走2025-01-26 05:56:51

打开 Pycharm 并转到右侧并打开编辑配置,您可以在其中编辑运行/调试配置

1

单击显示在的加号图标左上角,选择 Robot Framework 并按照图像中的定义设置配置并保存配置。注意:要运行的目标 .robot 或文件夹应该是您的项目\测试用例路径

2

选择调试机器人文件的保存设置

3

将调试器放在要调试的位置,然后单击调试图标。它会起作用的。

Open Pycharm and go to right side and open edit Configuration where you can edit Run/Debug configuration

1

Click on Plus icon showing at top left corner, Select Robot Framework and Set Configuration as per defined in Image and save configuration. Note: Target .robot or folder to run should be your project\testcase path

2

Select saved setting for debug Robot file

3

Put debugger from where you want to debug and click on debug icon. It will work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文