SHARE
TWEET
Untitled
a guest
Nov 30th, 2016
55
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- _StringException: Traceback (most recent call last):
- File "/home/iob/Devel/selenium/uiTester/uitests/testui.py", line 87, in test_run_scenario
- passbox = self.driver.find_element_by_xpath(self.conf.get('opsconsole', 'input_passwd'))
- File "/home/iob/Envs/selenium/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 293, in find_element_by_xpath
- return self.find_element(by=By.XPATH, value=xpath)
- File "/home/iob/Envs/selenium/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 752, in find_element
- 'value': value})['value']
- File "/home/iob/Envs/selenium/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 236, in execute
- self.error_handler.check_response(response)
- File "/home/iob/Envs/selenium/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 192, in check_response
- raise exception_class(message, screen, stacktrace)
- 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"}}
- 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.
