In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Robot FrameWork runs scripts through Jybot
It mainly explains how to run the script through Jybot mode in Robot Framework, so the premise is that Robot FrameWork can run the script normally in pybot mode, if you don't know how to install and configure Robot FrameWork, you can search Baidu, there are many such tutorials on the Internet.
1. Download jython 2.7b1, the file type is jar type file, in the windows environment, you can double-click to open and install. After the installation is successful, you can see that there are a lot of jython environment configurations on the Internet, but after configuring JYTHON_HOME,PATH,CLASSPAHT according to the online tutorials, enter jython in the cmd environment command line and display the path error. After several attempts, you can use the jython command to set PATH=C:\ jython2.7b1 directly (the path needs to match itself according to the installation directory).
two。 Enter jython-version and jybot-version in the cmd environment to view the corresponding version, indicating that the installation and deployment was successful. However, when you open RIDE and choose to run in jybot, you will be prompted about the Selenium2Libray import error and cannot execute the script. It is said on the Internet that it is necessary to change the path configuration of python.path in the registry file under the jython directory, change the path to the installation path of python27 and run it again, and the error problem of importing selenium2Library has been solved. But reported a lot of import-related errors. The main reason is that the error is caused by executing files in the python\ lib directory instead of executing files in the jython\ lib directory. Finally, I tried N methods and found that the registy file was changed back to the default settings, and the site-packages folder under the python\ lib directory was copied to the jython\ lib directory for overwriting. After rerunning, it was found that the script could run normally.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.