解决Pycharm报错:Cannot start process, the working directory ‘D:\pycharm\***\testsuits’ does not exist

Pycharm一个包里的文件运行过一次,后来将包名改成了testsuites,再运行该文件,遇到报错:Cannot start process, the working directory ‘D:\pycharm\***\testsuits’ does not exist

解决办法:

Run > Edit configurations,在弹出的窗口里把所有脚本文件上用到该包名的地方改正确,保存并运行,不再报错

Script:D:\pycharm\***\testsuites\test_baidu_search.py

Working directory:D:\pycharm\automation_framework_demo\testsuites

声明:本站所有项目资源都可以正常运行,亲测无错!而且我们录制了演示视频,在我们注明的环境版本下,项目运行效果完全和演示视频一致。客服QQ:下载须知