Python Selenium调试问题测试案例

时间:2019-12-19 07:29:11

标签: python-2.7 selenium selenium-webdriver

Python-2.7.16

WTF Web测试框架-https://pypi.org/project/wtframework 硒-https://sites.google.com/a/chromium.org/chromedriver/downloads

运行python runtests.py -c HarmonyAirNext(文件夹名称)

os.system(“ nosetests-2.7 --with-xunit --xunit-file = {result_path}”。format(result_path = result_path,test_path = test_path))

测试用例结构

测试/  测试/     Test_01_verify.py     Test_02_verify.py      等等..

测试用例可以运行,但不会中断。

尝试使用PyCharm,VisualStudioCode,https://disjoint.ca/til/2016/04/23/tips-for-debugging-python-nosetests/

请提出适当的解决方案。

0 个答案:

没有答案
相关问题