2011-04-20 12 views
0

FitNesse WebTest를 다운로드하고 FitNesse 및 SeleniumRC를 시작한 후이 문제가 발생했습니다.FitNesse 웹 테스트 예제 실행 중 오류가 발생했습니다.

start browser 
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:4444 
    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) 
    at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) 
    --- End of inner exception stack trace --- 
    at System.Net.HttpWebRequest.GetResponse() 
    at Selenium.HttpCommandProcessor.DoCommand(String command, String[] args) 
    at Selenium.HttpCommandProcessor.GetString(String commandName, String[] args) 
    at Selenium.HttpCommandProcessor.Start() 
    at Selenium.DefaultSelenium.Start() 
    at com.neuri.webfixture.PlainSeleniumTest.startBrowser(String browser, String rcServer, Int32 rcPort, String seleniumURL) 
    --- End of inner exception stack trace --- 
    at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) 
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) 
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 
    at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) 
    at fitlibrary.Method.Invoke(Object[] theParameters) 
    at fitlibrary.Method.Invoke(Fixture theFixture, IEnumerable theCells) 
    at fitlibrary.FlowFixtureBase.ExecuteMethod(Method theMethod, CellRange theCells) 
    at fitlibrary.FlowFixtureBase.ProcessFlowRows(Parse theRows) 

어떤 도움이라도 나에게 화를 내면서이 사실을 알게 될 것입니다.

답변

0

는 셀레늄 서버를 시작하지 않은 것처럼, 기본 위치에 셀레늄을 설치 한 가정

java -jar c:\selenium\selenium-server.jar 

사용하여 시작 소리.

관련 문제