report.html

Report generated on 27-Sep-2020 at 13:36:53 by pytest-html v2.1.1

Environment

Packages {"pluggy": "0.13.1", "py": "1.8.1", "pytest": "5.4.3"}
Platform Windows-10-10.0.18362-SP0
Plugins {"forked": "1.1.3", "html": "2.1.1", "metadata": "1.9.0", "rerunfailures": "9.0"}
Python 3.6.8

Summary

13 tests ran in 413.24 seconds.

6 passed, 0 skipped, 7 failed, 0 errors, 0 expected failures, 0 unexpected passes, 0 rerun

Results

Result Test Duration Links
Failed test_jbaq.py::test_nullbirth 35.95
args = (), kwargs = {}, start_time = 1601184600.8178835, log_name = 'test_jbaq'
engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9CB2BE48>

def wapper(*args, **kwargs):
# try:
start_time = time.time()
log_name = os.path.split(file)[-1].split(".")[0]
# image_path = os.path.join(os.path.dirname(os.path.dirname(file)), "images")
# image_path = os.path.join(image_path, log_name)
# image_path += '.png'

engine = BrowserEngine(url, login, log_name)

> ret = f(engine, *args, **kwargs)

..\..\engine\__init__.py:20:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9CB2BE48>

@pytest.mark.basicmatter
@get_engine(__file__,url=URL1.format(**params1))
def test_nullbirth(engine):
# engine.get_page(engine.DQZ)

time.sleep(0.5)
# js = '''document.querySelector("//div[@title='出生日期']/following-sibling::div[1]//input").value = "";'''
# engine.driver.execute_script(js)

engine.driver.xpath("//div[@title='出生日期']/following-sibling::div[1]//input")[0].clear()
time.sleep(0.5)
save_button = engine.driver.xpath("//span[text()='保存']/..")[0]
save_button.click()
time.sleep(0.5)
message = engine.driver.xpath("//div[@class='ant-message']//span[text()='有必填项未填']")
> assert len(message) == 1
E assert 0 == 1
E + where 0 = len([])

test_jbaq.py:122: AssertionError
------------------------------Captured stderr call------------------------------
[2020-09-27 13:30:00,817] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:30:00,819] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:30:04,080] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:30:04,080] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:30:17,853] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:30:20,483] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:30:20,485] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:30:20,486] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:30:20,486] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:30:20,486] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:30:20,516] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:30:21,261] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:30:23,202] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
Failed test_jbaq.py::test_notnullSpecifPerson 34.56
args = (), kwargs = {}, start_time = 1601184796.521727, log_name = 'test_jbaq'
engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9D4ECC18>

def wapper(*args, **kwargs):
# try:
start_time = time.time()
log_name = os.path.split(file)[-1].split(".")[0]
# image_path = os.path.join(os.path.dirname(os.path.dirname(file)), "images")
# image_path = os.path.join(image_path, log_name)
# image_path += '.png'

engine = BrowserEngine(url, login, log_name)

> ret = f(engine, *args, **kwargs)

..\..\engine\__init__.py:20:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9D4ECC18>

@pytest.mark.basicmatter
@get_engine(__file__, url=URL1.format(**params1))
def test_notnullSpecifPerson(engine):
# engine.get_page(engine.DQZ)

engine.driver.xpath("//div[@id='起诉意见书_犯罪嫌疑人_0_特定人员']")[0].click()
engine.driver.xpath("//li[@data='聋哑人']")[0].click()
time.sleep(0.5)
save_button = engine.driver.xpath("//span[text()='保存']/..")[0]
save_button.click()
time.sleep(0.5)
message = engine.driver.xpath("//div[@class='ant-message']//span[contains(text(),'保存成功')]")
> assert len(message) == 1
E assert 0 == 1
E + where 0 = len([])

test_jbaq.py:268: AssertionError
------------------------------Captured stderr call------------------------------
[2020-09-27 13:33:16,522] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:33:16,523] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:33:19,660] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:33:19,660] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:33:32,406] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:33:35,032] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:33:35,033] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:33:35,033] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:33:35,034] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:33:35,034] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:33:35,065] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:33:35,796] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:33:37,754] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
Failed test_jbaq.py::test_notnullSpecialID 34.55
args = (), kwargs = {}, start_time = 1601184831.1136231, log_name = 'test_jbaq'
engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9D4EC6A0>

def wapper(*args, **kwargs):
# try:
start_time = time.time()
log_name = os.path.split(file)[-1].split(".")[0]
# image_path = os.path.join(os.path.dirname(os.path.dirname(file)), "images")
# image_path = os.path.join(image_path, log_name)
# image_path += '.png'

engine = BrowserEngine(url, login, log_name)

> ret = f(engine, *args, **kwargs)

..\..\engine\__init__.py:20:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9D4EC6A0>

@pytest.mark.basicmatter
@get_engine(__file__, url=URL1.format(**params1))
def test_notnullSpecialID(engine):
# engine.get_page(engine.DQZ)

engine.driver.xpath("//div[@id='起诉意见书_犯罪嫌疑人_0_特殊身份']")[0].click()
engine.driver.xpath("//li[@data='国家工作人员']")[0].click()
time.sleep(0.5)
save_button = engine.driver.xpath("//span[text()='保存']/..")[0]
save_button.click()
time.sleep(0.5)
message = engine.driver.xpath("//div[@class='ant-message']//span[contains(text(),'保存成功')]")
> assert len(message) == 1
E assert 0 == 1
E + where 0 = len([])

test_jbaq.py:294: AssertionError
------------------------------Captured stderr call------------------------------
[2020-09-27 13:33:51,113] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:33:51,115] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:33:54,451] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:33:54,451] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:34:06,577] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:34:09,212] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:34:09,213] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:34:09,213] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:34:09,213] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:34:09,214] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:34:09,242] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:34:10,049] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:34:11,996] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
Failed test_jbaq.py::test_nullFilingTime 35.99
args = (), kwargs = {}, start_time = 1601184867.846867, log_name = 'test_jbaq'
engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9D483C50>

def wapper(*args, **kwargs):
# try:
start_time = time.time()
log_name = os.path.split(file)[-1].split(".")[0]
# image_path = os.path.join(os.path.dirname(os.path.dirname(file)), "images")
# image_path = os.path.join(image_path, log_name)
# image_path += '.png'

engine = BrowserEngine(url, login, log_name)

> ret = f(engine, *args, **kwargs)

..\..\engine\__init__.py:20:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9D483C50>

@pytest.mark.basicmatter
@get_engine(__file__, url=URL1.format(**params1))
def test_nullFilingTime(engine):
# engine.get_page(engine.DQZ)

# js = '''document.querySelector("//div[@title='立案时间']/following-sibling::div[1]//input").value = "";'''
# engine.driver.execute_script(js)

engine.driver.xpath("//div[@title='立案时间']/following-sibling::div[1]//input")[0].clear()
time.sleep(0.5)
save_button = engine.driver.xpath("//span[text()='保存']/..")[0]
save_button.click()
time.sleep(0.5)
message = engine.driver.xpath("//div[@class='ant-message']//span[contains(text(),'保存成功')]")
> assert len(message) == 1
E assert 0 == 1
E + where 0 = len([])

test_jbaq.py:312: AssertionError
------------------------------Captured stderr call------------------------------
[2020-09-27 13:34:27,847] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:34:27,848] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:34:31,186] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:34:31,186] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:34:44,358] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:34:46,999] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:34:47,001] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:34:47,001] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:34:47,001] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:34:47,001] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:34:47,042] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:34:47,831] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:34:49,861] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
Failed test_jbaq.py::test_IncorrectFormatFilingTime 35.45
args = (), kwargs = {}, start_time = 1601184903.8530414, log_name = 'test_jbaq'
engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9D483C88>

def wapper(*args, **kwargs):
# try:
start_time = time.time()
log_name = os.path.split(file)[-1].split(".")[0]
# image_path = os.path.join(os.path.dirname(os.path.dirname(file)), "images")
# image_path = os.path.join(image_path, log_name)
# image_path += '.png'

engine = BrowserEngine(url, login, log_name)

> ret = f(engine, *args, **kwargs)

..\..\engine\__init__.py:20:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9D483C88>

@pytest.mark.basicmatter
@get_engine(__file__, url=URL1.format(**params1))
def test_IncorrectFormatFilingTime(engine): # 立案时间格式于标准不一致 todo 不提示格式不正确!!
# engine.get_page(engine.DQZ)

input =engine.driver.xpath("//div[@title='立案时间']/following-sibling::div[1]//input")[0]
input.clear()
input.send_keys('5月5日')
time.sleep(0.5)
save_button = engine.driver.xpath("//span[text()='保存']/..")[0]
save_button.click()
time.sleep(0.5)
message = engine.driver.xpath("//div[@class='ant-message']//span[text()='日期格式不正确!']")
> assert len(message) == 1 and '不提示格式不正确!!'
E assert (0 == 1)
E + where 0 = len([])

test_jbaq.py:329: AssertionError
------------------------------Captured stderr call------------------------------
[2020-09-27 13:35:03,854] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:35:03,855] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:35:07,421] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:35:07,421] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:35:19,620] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:35:22,275] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:35:22,279] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:35:22,280] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:35:22,281] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:35:22,281] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:35:22,322] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:35:23,088] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:35:25,027] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
Failed test_jbaq.py::test_correctFormatFilingTime 33.65
args = (), kwargs = {}, start_time = 1601184941.4751148, log_name = 'test_jbaq'
engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9D57BF28>

def wapper(*args, **kwargs):
# try:
start_time = time.time()
log_name = os.path.split(file)[-1].split(".")[0]
# image_path = os.path.join(os.path.dirname(os.path.dirname(file)), "images")
# image_path = os.path.join(image_path, log_name)
# image_path += '.png'

engine = BrowserEngine(url, login, log_name)

> ret = f(engine, *args, **kwargs)

..\..\engine\__init__.py:20:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9D57BF28>

@pytest.mark.basicmatter
@get_engine(__file__, url=URL1.format(**params1))
def test_correctFormatFilingTime(engine): # 立案时间格式于标准一致
# engine.get_page(engine.DQZ)

input = engine.driver.xpath("//div[@title='立案时间']/following-sibling::div[1]//input")[0]
input.clear()
input.send_keys('2020年05月05日')
time.sleep(0.5)
save_button = engine.driver.xpath("//span[text()='保存']/..")[0]
save_button.click()
time.sleep(0.5)
message = engine.driver.xpath("//div[@class='ant-message']//span[contains(text(),'保存成功')]")
> assert len(message) == 1
E assert 0 == 1
E + where 0 = len([])

test_jbaq.py:346: AssertionError
------------------------------Captured stderr call------------------------------
[2020-09-27 13:35:41,476] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:35:41,477] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:35:44,727] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:35:44,727] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:35:56,518] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:35:59,167] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:35:59,170] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:35:59,171] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:35:59,171] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:35:59,171] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:35:59,202] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:35:59,973] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:36:02,084] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
Failed test_jbaq.py::test_nullmeasure 36.56
args = (), kwargs = {}, start_time = 1601184975.1367779, log_name = 'test_jbaq'
engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9D57B7B8>

def wapper(*args, **kwargs):
# try:
start_time = time.time()
log_name = os.path.split(file)[-1].split(".")[0]
# image_path = os.path.join(os.path.dirname(os.path.dirname(file)), "images")
# image_path = os.path.join(image_path, log_name)
# image_path += '.png'

engine = BrowserEngine(url, login, log_name)

> ret = f(engine, *args, **kwargs)

..\..\engine\__init__.py:20:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

engine = <engine.browser_engine.BrowserEngine object at 0x0000019D9D57B7B8>

@pytest.mark.basicmatter
@get_engine(__file__, url=URL1.format(**params1))
def test_nullmeasure(engine): # 强制措施为空
# engine.get_page(engine.DQZ)

# js = '''document.querySelector("#起诉意见书_犯罪嫌疑人_0_当前强制措施情况_案情摘要").value="";'''
# engine.driver.execute_script(js)

input = engine.driver.xpath("//textarea[@id='起诉意见书_犯罪嫌疑人_0_当前强制措施情况_案情摘要']")[0]
input.click()
input.clear()
time.sleep(3.5)
save_button = engine.driver.xpath("//span[text()='保存']/..")[0]
save_button.click()
time.sleep(0.5)
message = engine.driver.xpath("//div[@class='ant-message']//span[contains(text(),'保存成功')]")
> assert len(message) == 1
E assert 0 == 1
E + where 0 = len([])

test_jbaq.py:367: AssertionError
------------------------------Captured stderr call------------------------------
[2020-09-27 13:36:15,136] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:36:15,137] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:36:18,409] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:36:18,409] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:36:30,375] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:36:33,013] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:36:33,016] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:36:33,017] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:36:33,017] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:36:33,017] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:36:33,057] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:36:33,794] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:36:35,677] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号
Passed test_jbaq.py::test_nullID 26.03
------------------------------Captured stderr call------------------------------
[2020-09-27 13:30:36,807] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:30:36,808] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:30:39,989] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:30:39,989] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:30:51,758] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:30:54,397] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:30:54,400] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:30:54,400] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:30:54,401] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:30:54,401] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:30:54,431] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:30:55,169] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:30:57,060] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号 [2020-09-27 13:31:00,649] - [ INFO] - [ test_jbaq] - [ __init__.py] - [ 23] - 执行时间:23.841755867004395s
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号 INFO  test_jbaq:__init__.py:23 执行时间:23.841755867004395s
Passed test_jbaq.py::test_notnulledu 25.93
------------------------------Captured stderr call------------------------------
[2020-09-27 13:31:02,839] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:31:02,840] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:31:05,977] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:31:05,977] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:31:17,767] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:31:20,390] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:31:20,391] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:31:20,391] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:31:20,392] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:31:20,392] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:31:20,422] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:31:21,162] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:31:23,129] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号 [2020-09-27 13:31:26,558] - [ INFO] - [ test_jbaq] - [ __init__.py] - [ 23] - 执行时间:23.718897342681885s
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号 INFO  test_jbaq:__init__.py:23 执行时间:23.718897342681885s
Passed test_jbaq.py::test_nullDomicile 26.98
------------------------------Captured stderr call------------------------------
[2020-09-27 13:31:28,774] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:31:28,774] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:31:31,956] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:31:31,957] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:31:44,642] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:31:47,271] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:31:47,273] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:31:47,273] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:31:47,273] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:31:47,273] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:31:47,305] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:31:48,035] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:31:49,937] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号 [2020-09-27 13:31:53,567] - [ INFO] - [ test_jbaq] - [ __init__.py] - [ 23] - 执行时间:24.79393243789673s
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号 INFO  test_jbaq:__init__.py:23 执行时间:24.79393243789673s
Passed test_jbaq.py::test_notnullDomicile 26.85
------------------------------Captured stderr call------------------------------
[2020-09-27 13:31:55,752] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:31:55,754] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:31:58,912] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:31:58,912] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:32:10,698] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:32:13,324] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:32:13,326] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:32:13,326] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:32:13,326] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:32:13,326] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:32:13,357] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:32:14,098] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:32:16,069] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号 [2020-09-27 13:32:20,377] - [ INFO] - [ test_jbaq] - [ __init__.py] - [ 23] - 执行时间:24.625619411468506s
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号 INFO  test_jbaq:__init__.py:23 执行时间:24.625619411468506s
Passed test_jbaq.py::test_nulladdr 26.76
------------------------------Captured stderr call------------------------------
[2020-09-27 13:32:22,599] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:32:22,600] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:32:25,758] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:32:25,758] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:32:37,620] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:32:40,260] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:32:40,263] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:32:40,264] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:32:40,264] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:32:40,264] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:32:40,299] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:32:41,000] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:32:42,996] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号 [2020-09-27 13:32:47,166] - [ INFO] - [ test_jbaq] - [ __init__.py] - [ 23] - 执行时间:24.566624402999878s
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号 INFO  test_jbaq:__init__.py:23 执行时间:24.566624402999878s
Passed test_jbaq.py::test_notnulladdr 27.15
------------------------------Captured stderr call------------------------------
[2020-09-27 13:32:49,365] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 29] - the configPath: C:\Users\80980\znfz_autotest\config\config.ini [2020-09-27 13:32:49,366] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe [2020-09-27 13:32:52,638] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 33] - the browserType : Chrome [2020-09-27 13:32:52,639] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 30] - browserName: Chrome [2020-09-27 13:33:05,377] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 35] - Open url: http://2u8997d500.zicp.vip:46630/cm [2020-09-27 13:33:08,008] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 38] - Maximize the current window. [2020-09-27 13:33:08,010] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 40] - Set implicitly wait 10 seconds. [2020-09-27 13:33:08,010] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : 周朝阳 [2020-09-27 13:33:08,010] - [ INFO] - [ test_jbaq] - [ read_config.py] - [ 43] - the userInfo : qazwsxedc [2020-09-27 13:33:08,010] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 49] - username: 周朝阳 [2020-09-27 13:33:08,039] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 54] - tags.text:请选择所属部门 [2020-09-27 13:33:08,773] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 63] - tags2.text:瓯海区院 [2020-09-27 13:33:10,739] - [ INFO] - [ test_jbaq] - [ browser_engine.py] - [ 94] - the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号 [2020-09-27 13:33:14,329] - [ INFO] - [ test_jbaq] - [ __init__.py] - [ 23] - 执行时间:24.965128898620605s
-------------------------------Captured log call--------------------------------
INFO  test_jbaq:read_config.py:29 the configPath: C:\Users\80980\znfz_autotest\config\config.ini INFO  test_jbaq:read_config.py:33 the browserType : C:/Users/80980/znfz_autotest/driver/chromedriver.exe INFO  test_jbaq:read_config.py:33 the browserType : Chrome INFO  test_jbaq:browser_engine.py:30 browserName: Chrome INFO  test_jbaq:browser_engine.py:35 Open url: http://2u8997d500.zicp.vip:46630/cm INFO  test_jbaq:browser_engine.py:38 Maximize the current window. INFO  test_jbaq:browser_engine.py:40 Set implicitly wait 10 seconds. INFO  test_jbaq:read_config.py:43 the userInfo : 周朝阳 INFO  test_jbaq:read_config.py:43 the userInfo : qazwsxedc INFO  test_jbaq:browser_engine.py:49 username: 周朝阳 INFO  test_jbaq:browser_engine.py:54 tags.text:请选择所属部门 INFO  test_jbaq:browser_engine.py:63 tags2.text:瓯海区院 INFO  test_jbaq:browser_engine.py:94 the testUrl : http://2u8997d500.zicp.vip:46630/cm/currencydeal/瓯检起诉受[2020]33030400557号/case?bmsah=瓯检起诉受[2020]33030400557号 INFO  test_jbaq:__init__.py:23 执行时间:24.965128898620605s