Я пытаюсь запустить свой проект на терминале, так как слышал, что это огромное преимущество, но каждый раз, когда я пытаюсь это сделать, возникает эта проблема: «Разрешены только локальные подключения, а затем каждый тест не пройден, как я могу это исправить??
Получите снимок экрана этой ошибки.
2018-12-11 10:35:10.383 ERROR c.k.katalon.core.main.TestCaseExecutor - ❌ Test Cases/Contrahent/Buttons belowe contrahents card avatar/Cnt - Removing contrahent FAILED.
Reason:
java.io.FileNotFoundException: Config.txt (No such file or directory)
at Cnt - Removing contrahent.run(Cnt - Removing contrahent:23)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:321)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:312)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:291)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:283)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:222)
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestCaseMainPhase(TestSuiteExecutor.java:129)
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:112)
at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:81)
at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:149)
at com.kms.katalon.core.main.TestCaseMain$startTestSuite$0.call(Unknown Source)
at TempTestSuite1544520887488.run(TempTestSuite1544520887488.groovy:36)
2018-12-11 10:35:10.384 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/Contrahent/Buttons belowe contrahents card avatar/Cnt - Removing contrahent
2018-12-11 10:35:10.389 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2018-12-11 10:35:10.389 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/Contrahent/Buttons belowe contrahents card avatar/Cnt - Removing contrahent
2018-12-11 10:35:10.406 DEBUG testcase.Cnt - Removing contrahent - 1: openBrowser("")
2018-12-11 10:35:10.406 WARN c.k.k.core.webui.driver.DriverFactory - A browser is already opened. Closing browser and opening a new one
UPDATE_RECORD Test Cases/Contrahent/Buttons belowe contrahents card avatar/Cnt - Removing contrahent
UPDATE_RECORD Test Cases/Contrahent/Buttons belowe contrahents card avatar/Cnt - Removing contrahent
2018-12-11 10:35:10.551 INFO c.k.k.core.webui.driver.DriverFactory - Starting 'Chrome' driver
Starting ChromeDriver 2.43.600229 (3fae4d0cda5334b4f533bede5a4787f7b832d052) on port 38374
Only local connections are allowed.
Here is an issue