windows test execution from remote linux host

533 views
Skip to first unread message

Heiko Thiery

unread,
Dec 15, 2016, 1:14:00 PM12/15/16
to robotframe...@googlegroups.com
do anyone know if it is possible to execute test on a windows machine from robotframework running on a linux machine?

--
Heiko

teegee

unread,
Dec 15, 2016, 2:30:19 PM12/15/16
to robotframework-users
Yes it is, but you'll need RF installed on windows too.
Then you can use the RF remote library. Start reading here: https://github.com/robotframework/PythonRemoteServer

Tom

David

unread,
Dec 15, 2016, 8:13:25 PM12/15/16
to robotframework-users
Also depends on what you execute specifically on Windows. If not executing a full RF test case or test suite on Windows, or RF keywords on Windows, but rather say some Windows commands or scripts on Windows, the easier approach is to call use the Run/OS keywords to call a Linux tool called winexe that can make remote command line calls to Windows to run whatever command/script you want. Or run an SSH server on Windows and use SSHLibrary in RF to do same thing without winexe.

If all the RF tests reside on Windows, then no need RF on Linux, and simply just use SSH or winexe to remotely run the RF test on Windows, assuming Windows has the RF stuff installed.

For other cases, teegee's comment applies.

Tatu Aalto

unread,
Dec 16, 2016, 1:20:53 AM12/16/16
to David Luu, robotframework-users
Ugh

As David said, it depends what you want to do. Some libraries may have inbuilt support, although as far I can recall support is rare, to execute keywords remotely. Example database library and Seleniun2Library have this support and they don't need the Robot Framework remote library interface.

-Tatu
Send from my mobile

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Heiko Thiery

unread,
Dec 16, 2016, 2:40:00 AM12/16/16
to aalto...@gmail.com, David Luu, robotframework-users
Currently it's not clear what is needed. I was asked to get an overview what is possible. 

In our team we already do a lot of testing of u-boot and Linux and for that we have a working infrastructure including Jenkins for CI. Some things I now for our Linux embedded devices is how to install the DUT with the software to be tested. For windows it's not clear to me how to get a clean system for example prepare a boot device with a blank windows installation and install the software parts that should be tested.

--
Heiko



2016-12-16 7:20 GMT+01:00 Tatu Aalto <aalto...@gmail.com>:
Ugh

As David said, it depends what you want to do. Some libraries may have inbuilt support, although as far I can recall support is rare, to execute keywords remotely. Example database library and Seleniun2Library have this support and they don't need the Robot Framework remote library interface.

-Tatu
Send from my mobile
On Dec 16, 2016 3:13 AM, "David" <mang...@gmail.com> wrote:
Also depends on what you execute specifically on Windows. If not executing a full RF test case or test suite on Windows, or RF keywords on Windows, but rather say some Windows commands or scripts on Windows, the easier approach is to call use the Run/OS keywords to call a Linux tool called winexe that can make remote command line calls to Windows to run whatever command/script you want. Or run an SSH server on Windows and use SSHLibrary in RF to do same thing without winexe.

If all the RF tests reside on Windows, then no need RF on Linux, and simply just use SSH or winexe to remotely run the RF test on Windows, assuming Windows has the RF stuff installed.

For other cases, teegee's comment applies.


On Thursday, December 15, 2016 at 10:14:00 AM UTC-8, Heiko Thiery wrote:
do anyone know if it is possible to execute test on a windows machine from robotframework running on a linux machine?

--
Heiko

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@googlegroups.com.

To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages