Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
911 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 Reply

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...