python3 supports ride RF

I believe that everyone is not new to robot framework. It is a general-purpose test automation framework based on Python language for acceptance testing and acceptance test-driven development (ATDD). .

 

Python

Now you can use Python 3.x, because there is only one year left until Python 2.x stops maintenance.

 

Robot framework

Based on Python's robot framework testing framework, robot framework uses a specific set of syntax, and learning requires a certain threshold.

pip installation:

pip install robotframework

 

Robot framework-RIDE

This is the standard IDE for robot framework, just like PyCharm is for python, no! It is more important for the robot framework. For some of the above robot framework syntax, it can actually be done through configuration in RIDE. This has led many test students to get rid of RIDE and not use the robot framework at all.

Although the robot framework also provides plug-ins for some mainstream editors (Eclipse, Sublime, Notepad ++, etc.), these plug-ins are also limited to simple functions such as syntax coloring.

However, RIDE is developed based on the wxPython library, which is a GUI library under Python. The embarrassment is that wxPython does not support Python 3.x for a long time, which causes RIDE to not support Python 3.x. Therefore, many users of robot framework still insist on using Python 2.x, just to use RIDE.

However, on the first day of work in New Year 2019, I suddenly found that the RIDE project was resurrected ...

https://github.com/robotframework/RIDE/

The latest version 1.7.3.1 is based on wxPython4.0.4, and of course wxPython also supports Python3.x.

This is undoubtedly very beneficial to the promotion and use of robot framework.

pip installation:

pip install robotframework-ride

Start RIDE by executing C: \ Python36 \ Scripts \ ride.py file.

> cd C:\Python36\Scripts
> python ride.py

The latest RIDE page has not changed, but the logo seems to have changed! Importing my previous robot framework test cases still works very well.

Published 59 original articles · 69 praises · 270,000+ views

Guess you like

Origin blog.csdn.net/pansaky/article/details/89081508