Advertisement
Guest User

Untitled

a guest
Sep 29th, 2011
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. File "/home/douglas/Desktop/flourish.gradebook/src/schooltool/gradebook/browser/stests/activity_categories.txt", line 10, in activity_categories.txt
  2. Failed example:
  3. elements = browsers.manager.query_all.xpath('//form/input')
  4. Exception raised:
  5. Traceback (most recent call last):
  6. File "/home/douglas/Desktop/flourish.gradebook/python/lib/python2.6/doctest.py", line 1253, in __run
  7. compileflags, 1) in test.globs
  8. File "<doctest activity_categories.txt[3]>", line 1, in <module>
  9. elements = browsers.manager.query_all.xpath('//form/input')
  10. File "/home/douglas/Desktop/flourish.gradebook/flourish/src/schooltool/testing/selenium.py", line 184, in find_element
  11. return self._wrap(method(param))
  12. File "/home/douglas/.buildout/eggs/selenium-2.6.0-py2.6.egg/selenium/webdriver/remote/webdriver.py", line 199, in find_elements_by_xpath
  13. return self.find_elements(by=By.XPATH, value=xpath)
  14. File "/home/douglas/.buildout/eggs/selenium-2.6.0-py2.6.egg/selenium/webdriver/remote/webdriver.py", line 533, in find_elements
  15. {'using': by, 'value': value})['value']
  16. File "/home/douglas/.buildout/eggs/selenium-2.6.0-py2.6.egg/selenium/webdriver/remote/webdriver.py", line 144, in execute
  17. self.error_handler.check_response(response)
  18. File "/home/douglas/.buildout/eggs/selenium-2.6.0-py2.6.egg/selenium/webdriver/remote/errorhandler.py", line 118, in check_response
  19. raise exception_class(message, screen, stacktrace)
  20. WebDriverException: Message: u'The given selector "//form/input is either invalid or does not resultin a Webelement. The following error occurred:\n[InvalidSelectorError] Unable to locate elements with the xpath expression //form/input because of the following error:\n[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMXPathEvaluator.createNSResolver]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://fxdriver/modules/atoms.js :: <TOP_LEVEL> :: line 2360" data: no]'
  21.  
  22.  
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement