daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Nov 30th, 2016 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _StringException: Traceback (most recent call last):
  2.   File "/home/iob/Devel/selenium/uiTester/uitests/testui.py", line 87, in test_run_scenario
  3.     passbox = self.driver.find_element_by_xpath(self.conf.get('opsconsole', 'input_passwd'))
  4.   File "/home/iob/Envs/selenium/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 293, in find_element_by_xpath
  5.     return self.find_element(by=By.XPATH, value=xpath)
  6.   File "/home/iob/Envs/selenium/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 752, in find_element
  7.     'value': value})['value']
  8.   File "/home/iob/Envs/selenium/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 236, in execute
  9.     self.error_handler.check_response(response)
  10.   File "/home/iob/Envs/selenium/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 192, in check_response
  11.     raise exception_class(message, screen, stacktrace)
  12. selenium.common.exceptions.InvalidSelectorException: Message: {"errorMessage":"Unable to locate an element with the xpath expression \"//input[contains(@ng-model,'user.name')]\" because of the following error:\nError: TYPE_ERR: DOM XPath Exception 52","request":{"headers":{"Accept":"application/json","Accept-Encoding":"identity","Connection":"close","Content-Length":"128","Content-Type":"application/json;charset=UTF-8","Host":"127.0.0.1:34161","User-Agent":"Python-urllib/2.7"},"httpVersion":"1.1","method":"POST","post":"{\"using\": \"xpath\", \"sessionId\": \"dfa172d0-b72d-11e6-872b-239bdd4b94c9\", \"value\": \"\\\"//input[contains(@ng-model,'user.name')]\\\"\"}","url":"/element","urlParsed":{"anchor":"","query":"","file":"element","directory":"/","path":"/element","relative":"/element","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/element","queryKey":{},"chunks":["element"]},"urlOriginal":"/session/dfa172d0-b72d-11e6-872b-239bdd4b94c9/element"}}
  13. Screenshot: available via screen
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top