I am getting error in FitNesse while slim communic

2019-07-22 14:59发布

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条回答
叛逆
2楼-- · 2019-07-22 15:24

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.

查看更多
登录 后发表回答