You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Executing RobotFramework test cases from putty? #179
I would use SSHLibrary to get the files from the Linux machine. (You can
even package them in a Zip file and unzip in windows),
If you really need to have Linux graphical windows you need to have putty
to forward X11, and a X11 windows server like XMing. This looks like a very
complicated setup.
Actually i want to execute the test cases on another machine(Linux) but from putty.The browser should be launched on the linux machine but the command for execution is being send from putty.
As of now if i execute from putty i am getting the above exception.
To troubleshoot that,
make sure that the graphical environment is working in the Linux machine,
this is run the tests from a local console. If that is working, then is
putty not correctly set.
There is a DISPLAY environment variable to tell Linux where windows should
be presented.
My guess is that roboframework is loosing context. (I do not even know if
it is possible to do what you want, but I'm not expert).
Actually i want to execute the test cases on another machine(Linux) but
from putty.The browser should be launched on the linux machine but the
command for execution is being send from putty.
As of now if i execute from putty i am getting the above exception.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/179#issuecomment-14452813
.
It's probably because the linux box didn't have an active display and thus couldn't activate the webdriver. One method to get around this would be to test using the phantomjs webdriver which is headless. Otherwise you'll need to investigate X11 forwarding over an SSH tunnel.
Activity
HelioGuilherme66 commentedon Mar 5, 2013
I would use SSHLibrary to get the files from the Linux machine. (You can
even package them in a Zip file and unzip in windows),
If you really need to have Linux graphical windows you need to have putty
to forward X11, and a X11 windows server like XMing. This looks like a very
complicated setup.
Are the tests specific for Windows?
Helio
On Tue, Mar 5, 2013 at 1:06 PM, PriyaAn notifications@github.com wrote:
PriyaAn commentedon Mar 5, 2013
Actually i want to execute the test cases on another machine(Linux) but from putty.The browser should be launched on the linux machine but the command for execution is being send from putty.
As of now if i execute from putty i am getting the above exception.
HelioGuilherme66 commentedon Mar 5, 2013
To troubleshoot that,
make sure that the graphical environment is working in the Linux machine,
this is run the tests from a local console. If that is working, then is
putty not correctly set.
There is a DISPLAY environment variable to tell Linux where windows should
be presented.
My guess is that roboframework is loosing context. (I do not even know if
it is possible to do what you want, but I'm not expert).
On Tue, Mar 5, 2013 at 5:25 PM, PriyaAn notifications@github.com wrote:
rsq647 commentedon Jul 30, 2013
you may try 'xvfb-run'
just-be-dev commentedon May 6, 2015
It's probably because the linux box didn't have an active display and thus couldn't activate the webdriver. One method to get around this would be to test using the phantomjs webdriver which is headless. Otherwise you'll need to investigate X11 forwarding over an SSH tunnel.