I am getting error in FitNesse while slim communication with browser _ Could not send/receive data with SUT

 ̄綄美尐妖づ 提交于 2019-12-11 00:29:01

问题


The error I got is fitnesse.testsystems.slim.SlimCommunicationException: Could not send/receive data with SUT

FitNesse Code:

!define TEST_SYSTEM {slim}

!path C:\FitNesseUsingSelenium\bin\Debug*.dll

!define COMMAND_PATTERN {%m -r fitSharp.Slim.Service.Runner %p}

!define TEST_RUNNER {C:\FitSharp.2.5.0\lib\net40\Runner.exe}

!|import| |FitNesseUsingSelenium|

!|FitSeleniumFramework|

|TextInTitle|isTitleCorrect?|

|Google|yes|

|google|no|

|bing|no|

Actually is it opening and closing the browser perfectly but after the instead of displaying the results in FitNesse page, it always throwing the error "Could not complete testing: fitnesse.testsystems.slim.SlimCommunicationException: Could not send/receive data with SUT" enter image description here

But the same is working perfectly in Java using selenium

Could you please suggest some idea to resolve this issue???


回答1:


Try adding this line:

!define slim.port {8085}

There seems to a problem in the latest FitNesse version when using Selenium and fitSharp with the default Slim port. This is a workaround for the problem.



来源:https://stackoverflow.com/questions/41692028/i-am-getting-error-in-fitnesse-while-slim-communication-with-browser-could-not

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!