Start-up¶
Steps to complete¶
install firefox
install python 3.x
install PIP (usually installed with python, but not always on windows machines)
add python to your path (http://stackoverflow.com/questions/3701646/how-to-add-to-the-pythonpath-in-windows-7)
add pip to path (same as previous, but add the folder C:/Python3x/Scripts
install Selenium, in command line ‘pip install selenium’
unpack the Pathways folder
edit the ini file in yourpathwaypath/examples/calculators/webapp/tst/ATS/config.cfg
Error¶
>>>
@@ FAILED to run the test, due Message: Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURIWithOptions]
Stacktrace:
at _loadURIWithFlags (chrome://browser/content/browser.js:12204)
at loadURIWithFlags (chrome://browser/content/tabbrowser.xml:6155)
at loadURI (chrome://global/content/bindings/browser.xml:119)
at loadURI (chrome://browser/content/tabbrowser.xml:3622)
at FirefoxDriver.prototype.get (\file:///C:/Users/postemer/AppData/Local/Temp/tmpzhcta5xy/extensions/fxdriver@googlecode.com/components/driver-component.js:10515)
at DelayedCommand.prototype.executeInternal_/h (\file:///C:/Users/postemer/AppData/Local/Temp/tmpzhcta5xy/extensions/fxdriver@googlecode.com/components/command-processor.js:12617)
at DelayedCommand.prototype.executeInternal_ (\file:///C:/Users/postemer/AppData/Local/Temp/tmpzhcta5xy/extensions/fxdriver@googlecode.com/components/command-processor.js:12622)
at DelayedCommand.prototype.execute/< (\file:///C:/Users/postemer/AppData/Local/Temp/tmpzhcta5xy/extensions/fxdriver@googlecode.com/components/command-processor.js:12564)
Solution¶
Edit the ini file ‘config.cfg’ in the ../webapp/ATS/ directory - remove the line ‘home …’ - set the path in after ‘TOPd’ to the path of pathways