The Robot framework framework was developed based on the Python language, so it is essentially a library of Python.Baidu Search ExampleCreate the py_robot.py file with the following code:From Robot.apiImport TestSuiteFrom Robot.apiImport ResultwriterFrom Robot.modelImport Keyword# Baidu Search TestClassBaidusearchtest:
are not supported)
WxPython2.8-win64-unicode-2.8.12.1-py27.exe
Download the package and install it all the way to next.
After wxpython is installed, you can install ride.
Go to the ride homepage and find the download link in the lower-left corner. (The current maximum version is 0.39)
Https://pypi.python.org/pypi/robotframework-ride/1.3#downloads
Robotframework-ride-1.3.win-amd64.exe (MD5)
After the download, the next installation is complete.
Verify that ride is successfully installed.
On t
Robot Framework installation of a small problem, the internet did not find a direct introduction, now the installation process and the solution is recorded as follows:--------------------------------------------------------------------------------------------------------------Download the following installation files and install--------------------------------------------------------------------------------
._selenium_log= Open (LogPath,'W') Start_selenium_server (Self._selenium_log, Self._jar_path,*params) self._html ('Selenium server log is written to '% (Logpath.replace ('\\','/'), LogPath))This is the source of the start selenium server.We can also copy the entire C:\Python27\Lib\site-packages\SeleniumLibrary folder and rename it to "Allenlibrary", then turn on __init__.py and put all of the " Seleniumlibrary "replaced with" Allenlibrary ".Then you can use the allenlibrary directly.Look, this i
Robot Framework Simple Web site compatibility testIntroduction to the 0.Robot FrameworkThe Robot framework is a common automated testing framework for "acceptance testing" and "acceptance test driven Development (ATDD)" (ATDD is d
version must match the Wxpython version, or it will not open2.8 Installing the Selenium2library dependent library decoratorDecorator is a library of selenium2library dependenciesOfficial website Installation Address: https://pypi.python.org/pypi/decorator/3.4.0On the command line, go to the installation file to extract the directory and execute the Python setup.py install installation decorator2.9 Installa
The recent launch of the anti-beauty app Primo in Japan may make you feel overwhelmed. In fact, this anti-human application, you can also write, but must understand some of the technology, is computer vision. At present, the computer Vision Library includes FASTCV, OpenCV, JAVACV and so on.Relatively speaking, OpenCV is a more mature visual library, it contains the Harris, SURF, SIFT, fast and other algorit
.
There are many configurable items. In order to quickly execute the case, we will first introduce the required items.
A. restrict where this project can be run: The preceding label is used here. Used to specify the label on which the job is executed. The specified slave label for multiple configuration items is not here.
B. Source Code Management: SVN is recommended for RF cases. This demonstration will not be processed. The next article will explain it briefly.
C. Build: we need to add the b
There is a keyword 'Start process' in the Library 'process'.
(Starts a new process on background)
Note: There is also a keyword 'Start Process' in the Library 'operatingsystem'. But has been abandoned, it is recommended to use Process.Start Process.
= = = This is the part where I found this "pit". Not interested, can jump directly to the end of the text = =
Recently encountered a problem. > Phenomenon :
N
1. Install Python: When I install the python3.6: https://www.python.org/The RF framework is Python-based, so be sure to have a python environment.2. Install the robot framework:Currently the latest version is 3.0.2,:https://pypi.python.org/pypi/robotframework/3.0.2After downloading, unpack, open terminal switch to unzip directory, then execute Python setup.py install installation. 3. Install WxPython:: htt
I. Build a robot framework environment: Official Website: http://robotframework.org/
Serial number
Installation Package name
Installation Method
Remarks
1
Python
EXE file, double-click to install
Https://www.python.org/download/releases/2.7.8/
The installation path cannot contain spaces.
Databaselibrary:On the RF official website, there are databaselibrary download links, Databaselibrary has 2 versions, Python and Java edition. I am using the Python version.1, download and official website introduction:http://franz-see.github.com/Robotframework-Database-Library/Installation:Using Easy_install:easy_install Robotframework-databaselibraryUsing Pip:pip Install Robotframework-databaselibraryor download the installation package:Python setup
Under the robot framework, the Selenium2library library is often used for testing.
Novice most likely to encounter the situation of IE browser open failure, this time, please see the specific information, Protected mode ... This can be guessed that the protection mode of IE browser is inconsistent, this time, the browser's "Tools"-"Internet Options"-"security"
-known GUI library for Python because RIDE was developed based on this library, so this must be installed.To the official website, download wxpython:http://www.wxpython.org/download.php, since we use the 32-bit version of Python, this also installs the 32-bit version.4, Installation RideRIDE is the editor for the Robot Framew
Robot framework is an extensible keyword-driven automated testing framework developed based on python. It is usually used for end-to-end acceptance testing. It encapsulates the definitions of test cases, keywords, and test data into HTML or TSV (tab-separated) files. The user manual and the following: http://code.google.com/p/robotframework/
Some basic concepts
" is the name of a use caseThe following spaces are the steps to begin writing as a use case:The first line assigns a value to variable B, where set variable is the built-in library of the robot frameworkThe second line is to execute our own test code, Divide calculate is a keyword that corresponds to the Divide_calculate () method in arithmetic.py. It is important to note that this method must be in a clas
Robot Framework Syntax Learning:I. Declaration, assignment and use of variables1. Variable identifiers: Each variable can be represented by a variable identifier ${variable name} .2. Variable declaration: You can add a variable by right-clicking on the testsuite or adding a scalar or add list to the edit area.3. Variable assignment:1) Set assignment: Typically this approach uses set Variable or similar keyw
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.