Pastebin

Paste #23628: No description

< previous paste - next paste>

Pasted by Anonymous Coward

Download View as text

--- Logging error ---
Traceback (most recent call last):
  File "D:\Users\sdktda\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 1100, in emit
    msg = self.format(record)
  File "D:\Users\sdktda\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 943, in format
    return fmt.format(record)
  File "D:\Users\sdktda\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 678, in format
    record.message = record.getMessage()
  File "D:\Users\sdktda\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 368, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "D:\dev\PyCharmProjects\metrics\perfapp.py", line 176, in <module>
    metrics = simulate_use_case(action_list)
  File "D:\dev\PyCharmProjects\metrics\perfapp.py", line 146, in simulate_use_case
    t = action_func(driver)
  File "D:\dev\PyCharmProjects\metrics\actions.py", line 98, in open_alert
    logger.debug("Locating element: ", elem_locator)
Message: 'Locating element: '
Arguments: (('css selector', '#tdc-bec_tm_strategy-alerts-grid > div:nth-child(2) > table:nth-child(1) > tbody:nth-child(2) > tr:nth-child(3) > td:nth-child(1)'),)
--- Logging error ---
Traceback (most recent call last):
  File "D:\Users\sdktda\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 1100, in emit
    msg = self.format(record)
  File "D:\Users\sdktda\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 943, in format
    return fmt.format(record)
  File "D:\Users\sdktda\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 678, in format
    record.message = record.getMessage()
  File "D:\Users\sdktda\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 368, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "D:\dev\PyCharmProjects\metrics\perfapp.py", line 176, in <module>
    metrics = simulate_use_case(action_list)
  File "D:\dev\PyCharmProjects\metrics\perfapp.py", line 146, in simulate_use_case
    t = action_func(driver)
  File "D:\dev\PyCharmProjects\metrics\actions.py", line 100, in open_alert
    logger.debug("Located element: ", elem_locator)
Message: 'Located element: '
Arguments: (('css selector', '#tdc-bec_tm_strategy-alerts-grid > div:nth-child(2) > table:nth-child(1) > tbody:nth-child(2) > tr:nth-child(3) > td:nth-child(1)'),)
--- Logging error ---
Traceback (most recent call last):
  File "D:\Users\sdktda\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 1100, in emit
    msg = self.format(record)
  File "D:\Users\sdktda\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 943, in format
    return fmt.format(record)
  File "D:\Users\sdktda\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 678, in format
    record.message = record.getMessage()
  File "D:\Users\sdktda\AppData\Local\Programs\Python\Python310\lib\logging\__init__.py", line 368, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "D:\dev\PyCharmProjects\metrics\perfapp.py", line 176, in <module>
    metrics = simulate_use_case(action_list)
  File "D:\dev\PyCharmProjects\metrics\perfapp.py", line 146, in simulate_use_case
    t = action_func(driver)
  File "D:\dev\PyCharmProjects\metrics\actions.py", line 101, in open_alert
    logger.debug("Double clicking element: ", elem_locator)
Message: 'Double clicking element: '
Arguments: (('css selector', '#tdc-bec_tm_strategy-alerts-grid > div:nth-child(2) > table:nth-child(1) > tbody:nth-child(2) > tr:nth-child(3) > td:nth-child(1)'),)
2022-09-20 15:47:21,532 perfapp.py:147    simulate_use_case() INFO: action OPEN_ALERTS_TAB took None seconds
2022-09-20 15:47:21,533 perfapp.py:145    simulate_use_case() INFO: Running action OPEN_ALERTS_TAB ...
2022-09-20 15:47:21,533 perfapp.py:147    simulate_use_case() INFO: action OPEN_ALERTS_TAB took None seconds
{'OPEN_VI_LOGIN_PAGE': 0.03937724599381909, 'LOGIN_VI': 3.123628558998462, 'OPEN_ALERTS_TAB': None}
{'OPEN_VI_LOGIN_PAGE': 0.03937724599381909, 'LOGIN_VI': 3.123628558998462, 'OPEN_ALERTS_TAB': None}

Process finished with exit code 0

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.