Robot Frameworke up the environment and create a shortcut on python3

Environment to build :

After building a good python3.6 python environment version or above

In dos command input pip install robotframework online installation robotframework
the dos command input pip install Pypubsub == 3.3.0 Online installation Pypubsub
the dos command input pip install wxPython == 4.0.3 Online installation wxPython
input pip install robotframework-ride online in the dos command installation robotframework-ride
the command input pip list dos check is successfully installed
in the command input dos RIDE ride.py check for the main interface, such as can not appear, may be mounted to the python path \ scripts \ ride.py manually by double clicking

Note: If you are using the default file py pycharm like interpreters open, double-click will open the file by pycharm, so you want to manually select Open, such as the use python.exe

Installation helper class:

pip install robotframework-requests

pip install openpyxl

pip install docutils

 

Installation Selenium2Library:

This module is a must module, attach the module commonly used keywords: https://blog.csdn.net/ak739105231/article/details/88926995

pip install robotframework-selenium2library

 

appium combination test app library:

pip install robotframework-appiumlibrary

 

Create Shortcut:

In this case there is no shortcut on the desktop and, every time you start the python scripts are required to file documents to find ride.py, very convenient, so create a shortcut

1, first right-click on the desktop, in the pop-up shortcut menu select "New (W) -> Shortcuts (S)

2, then the pop-up window, "Please enter the target position (T):" text box below, enter the command:

C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\python.exe -c "from robotide import main; main()"

3, click "Next (N)" button in the "Type a name for the shortcut (T):" The following text box, enter the name "RIDE"

4. Click "Finish (F)" button to complete manually add a shortcut icon

5, but you've created will find an icon not a robot. Then on the new shortcut icon RIDE, right-click and select "Properties", will pop up "RIDE Properties" dialog box

6, click the "Change Icon ..." button, pop-up "Change Icon" dialog box, click the "Browse (B) ..." button, enter the directory

C: \ Users \ Administrator \ AppData \ Local \ Programs \ Python \ Python37-32 \ Lib \ site-packages \ robotide \ widgets, select the icon robot.ico

7, click "Open (O)" button, then click the "OK" button, then click "OK" button, the icon will change a success

 

 

----------------
Disclaimer: This article is the original article CSDN bloggers "purple street the next morning," the follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/cjw1991/article/details/87892342

----------------
Disclaimer: This article is CSDN blogger "Johnson condensation" of the original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source and this link statement.
Original link: https: //blog.csdn.net/ak739105231/article/details/90109496

Guess you like

Origin www.cnblogs.com/yanzhuping/p/11482398.html