You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using HTMLTestRunner-1.1.0 for some time. I decided to try this more maintained version but have run in to an issue. I'm using selenium 3.43, geckodriver 1.17(tried with chrome too), and Firefox 54. Once this was installed I began having import issues for some reason. Not completely sure of install since you did not provide an install page for windows or Mac. Here is what my code is now looking like:'''
Created on Jan 27, 2017
@author: jeffc
'''
import unittest from littriage_search_test import TestLitSearch
from littriage_summary_test import TestLitSummarySearch
import os
import HTMLTestRunner
#from LitTriage import littriage_search_test, littriage_summary_test
sorry, appears to be an issue with pydev. Still would like to know how to properly install this software, where should the folder of css,js,fonts,etc be placed? In the site packages/lib directory?
I have been using HTMLTestRunner-1.1.0 for some time. I decided to try this more maintained version but have run in to an issue. I'm using selenium 3.43, geckodriver 1.17(tried with chrome too), and Firefox 54. Once this was installed I began having import issues for some reason. Not completely sure of install since you did not provide an install page for windows or Mac. Here is what my code is now looking like:'''
Created on Jan 27, 2017
@author: jeffc
'''
import unittest
from littriage_search_test import TestLitSearch
from littriage_summary_test import TestLitSummarySearch
import os
import HTMLTestRunner
#from LitTriage import littriage_search_test, littriage_summary_test
def main():
littriage_search_test = unittest.TestLoader().loadTestsFromTestCase(TestLitSearch)
littriage_summary_test = unittest.TestLoader().loadTestsFromTestCase(TestLitSummarySearch)
#Put them in an Array
littriage_tests = unittest.TestSuite([littriage_search_test, littriage_summary_test])
#file
dir = os.getcwd()
outfile = open(r"C:\WebdriverTests\LitTriagetestreport.html", "w")
runner = HTMLTestRunner.HTMLTestRunner(stream = outfile,title = 'Test Report',description = 'Literature Triage Test Report')
runner.run(littriage_tests)
if name=="main":
main()
Bolded text(2 separate lines) are both giving me unresolved import issues and I can't figure out why.
Jeff
The text was updated successfully, but these errors were encountered: