Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
819 views
in Technique[技术] by (71.8m points)

robotframework - Is there any method to execute a robot test on a separate remote windows machine?

I am trying to execute a robot test containing AutoTtLibrary. This test is executed locally on the PC but now I am trying to execute the same test on that PC but invoked from different PC.

  1. I used remoterunner library. While test started, I got error that AutoItLibrary.py access is denied.
  2. I used PsEXEC to launch cmd of remote PC, and then tried to execute the same robot command on this cmdline which worked on the local PC. The test started but it got stuck.

Is there any method to resolve this issue?

Right now my only option is to execute robot test on each pc locally

question from:https://stackoverflow.com/questions/65906534/is-there-any-method-to-execute-a-robot-test-on-a-separate-remote-windows-machine

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

robotremoteserver .. install/setup it and required keyword libraries and then modify your Library's to point to that remote host.

More info here: https://github.com/robotframework/PythonRemoteServer

Also here is a blog post that might give more details: https://xebia.com/blog/the-robot-framework-remote-library-interface-using-the-remote-database-library-to-connect-to-ibm-db2/ -- it talks about databases but its essentially the same idea.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...