I am trying to execute a bat file on a remote Windows machine on the cloud from my Linux. Bat files run the selenium server, and then my selenium tests are run. I can not run selenium RC server on this machine. I tried using telnet, but the problem is with closing the telnet session. The RC server port is also closed. As the code for my code, I need to start the server, so I tried to execute the ANT telnet task, and also run the telnet script shell in both cases when the port was closed.
I read about Open SSH, psexec for linux and cygwin. But I donβt understand how to use them, and they will solve my problem.
I tried to start a service that starts the server, but in this method I do not get browser visibility, all tests are performed in the background, since my script takes the browser browser visibility of the screen.
Now my question is what to use and which will be preferable for my work. and what ever i choose should be executed by code, it can be a shell, ANT or php.
Thanks in advance.
lAH2iV
source share