摘要:
1.1、seldom 提供了8中定位方式,与Selenium保持一致。 id_ name class_name tag link_text partial_link_text css xpath import seldom class YouTest(seldom.TestCase): def te 阅读全文
摘要:
1、多线程执行测试用例 这里以百度搜索为例,通过不同的浏览器来启动不同的线程。 from threading import Thread from selenium import webdriver from time import ctime,sleep #测试用例 def test_baidu( 阅读全文