如何在Pycharm中调试机器人框架的测试案例?
我无法在 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 技术交流群。

打开 Pycharm 并转到右侧并打开编辑配置,您可以在其中编辑运行/调试配置
单击显示在的加号图标左上角,选择 Robot Framework 并按照图像中的定义设置配置并保存配置。注意:要运行的目标 .robot 或文件夹应该是您的项目\测试用例路径
选择调试机器人文件的保存设置
将调试器放在要调试的位置,然后单击调试图标。它会起作用的。
Open Pycharm and go to right side and open edit Configuration where you can edit Run/Debug configuration
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
Select saved setting for debug Robot file
Put debugger from where you want to debug and click on debug icon. It will work.