Hi team,
I am using the selenium new RemoteWebDriver(new Uri("http://" + "sssssssss:xxxx"), options); to run the selenium test on remote machine.
I am able to use the ZAP on local machine but not able to initialize on Remote machine. The zap is installed on remote already but I am not able to launch it with selenium
Notes:
psexec \\server -i -d "C:\Program Files\OWASP\Zed Attack Proxy\ZAP.exe"
this command is not launching the ZAP
I am using C# code like below but on running it is always launching on local machine
ProcessStartInfo zapProcessStartInfo = new ProcessStartInfo();
zapProcessStartInfo.FileName = @"\\server\C$\Program Files\OWASP\Zed Attack Proxy\ZAP.exe";
zapProcessStartInfo.WorkingDirectory = @"\\
server \C$\Program Files\OWASP\Zed Attack Proxy";
zapProcessStartInfo.Arguments = "-host 127.0.0.1 -port 7070";
Console.WriteLine(zapProcessStartInfo.ToString());
Console.WriteLine("Issuing command to StartZapUI");
Process zap = Process.Start(zapProcessStartInfo);
Could anyone suggest on this?
regards,
Tom