问题遇到的现象和发生背景
做的ui自动化 python做的 项目中有上传文件和鼠标画框等 用autoit3来实现的 但是用jenkins跑的时候发现不行
遇到的现象和发生背景,请写出第一个错误信息
所有的带autoit3的代码块均报错
用代码块功能插入代码,请勿粘贴截图。 不用代码块回答率下降 50%
E:\pythonproject2023\pythonProject\uiiq>python run.py
============================= test session starts =============================
platform win32 -- Python 3.9.10, pytest-7.2.1, pluggy-1.0.0 -- D:\python39\python.exe
cachedir: .pytest_cache
rootdir: E:\pythonproject2023\pythonProject\uiiq
plugins: allure-pytest-2.12.0
collecting ... collected 7 items
Testcase/test_neiq.py::Test_neiq::test_login_neiq 登录成功!
PASSED
Testcase/test_neiq.py::Test_neiq::test_lenc FAILED
Testcase/test_neiq.py::Test_neiq::test_awb 成功!
PASSED
Testcase/test_neiq.py::Test_neiq::test_ccm FAILED
Testcase/test_neiq.py::Test_neiq::test_aec FAILED
Testcase/test_neiq.py::Test_neiq::test_rgb 成功!
PASSED
Testcase/test_neiq.py::Test_neiq::test_dns 成功!
PASSED
运行结果及详细报错内容
E:\pythonproject2023\pythonProject\uiiq>python run.py
============================= test session starts =============================
platform win32 -- Python 3.9.10, pytest-7.2.1, pluggy-1.0.0 -- D:\python39\python.exe
cachedir: .pytest_cache
rootdir: E:\pythonproject2023\pythonProject\uiiq
plugins: allure-pytest-2.12.0
collecting ... collected 7 items
Testcase/test_neiq.py::Test_neiq::test_login_neiq 登录成功!
PASSED
Testcase/test_neiq.py::Test_neiq::test_lenc FAILED
Testcase/test_neiq.py::Test_neiq::test_awb 成功!
PASSED
Testcase/test_neiq.py::Test_neiq::test_ccm FAILED
Testcase/test_neiq.py::Test_neiq::test_aec FAILED
Testcase/test_neiq.py::Test_neiq::test_rgb 成功!
PASSED
Testcase/test_neiq.py::Test_neiq::test_dns 成功!
PASSED
我的解答思路和尝试过的方法,不写自己思路的,回答率下降 60%
尝试配置环境变量达到成功运行 但是还是不行