pycharm + robot framwork environment configuration

A need to install the package

1, install python

2, installation pycharm

3, the configuration of the python interpreter pycharm

1) First, open pycharm tool, select Setting option in the File

2) find the "Project Interpreters", then click on "Project Interpreter" option in the dialog box

3) Click on the right "+" to add the corresponding version of the interpreter.

4) Add the corresponding version of the interpreter, and then click "OK" to complete the configuration

4, mounting robot framwork

5, the mounting robot framwork-ide

 After installing the robot framwork-ide, no shortcuts, add a shortcut own

The system is installed by default cmd D: \ Users \ jodie \ AppData \ Local \ Programs \ Python \ Python38 \ Scripts \ ide.py

 Second, in the case testing is provided in PyCharm

FILE->Settings->External Tools->add

1, fully automated instance

Program:  C:\Users\Administrator\AppData\Roaming\Python\Python37\Scripts\robot.exe

Arguments: -d log $FileDir$

Working Directory: $FileDir$

2, a single instance of automation

Program:  C:\Users\Administrator\AppData\Roaming\Python\Python37\Scripts\robot.exe

Arguments: -d log $FileName$

Working Directory: $FileDir$

3, a plurality of Application Example

Program:  C:\Users\Administrator\AppData\Roaming\Python\Python37\Scripts\robot.exe

Arguments: -d log $SelectedText$

Working Directory: $FileDir$

 

Guess you like

Origin www.cnblogs.com/jodie2019/p/11955819.html