RobotFrameWork环境搭建

 1 安装python27

 2 安装robotframework

 

C:\Python27\Scripts>python setup.py install 

 

byte-compiling C:\Python27\Lib\site-packages\robot\running\context.py to context
.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\defaults.py to defaul
ts.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\dynamicmethods.py to
dynamicmethods.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\handlers.py to handle
rs.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\handlerstore.py to ha
ndlerstore.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\importer.py to import
er.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\keywordrunner.py to k
eywordrunner.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\model.py to model.pyc

byte-compiling C:\Python27\Lib\site-packages\robot\running\namespace.py to names
pace.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\outputcapture.py to o
utputcapture.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\randomizer.py to rand
omizer.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\runkwregister.py to r
unkwregister.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\runner.py to runner.p
yc
byte-compiling C:\Python27\Lib\site-packages\robot\running\signalhandler.py to s
ignalhandler.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\status.py to status.p
yc
byte-compiling C:\Python27\Lib\site-packages\robot\running\testlibraries.py to t
estlibraries.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\timeouts\ironpython.p
y to ironpython.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\timeouts\jython.py to
 jython.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\timeouts\posix.py to
posix.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\timeouts\windows.py t
o windows.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\timeouts\__init__.py
to __init__.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\usererrorhandler.py t
o usererrorhandler.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\userkeyword.py to use
rkeyword.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\running\__init__.py to __init
__.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\testdoc.py to testdoc.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\tidy.py to tidy.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\application.py to appli
cation.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\argumentparser.py to ar
gumentparser.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\asserts.py to asserts.p
yc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\charwidth.py to charwid
th.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\compress.py to compress
.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\connectioncache.py to c
onnectioncache.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\dotdict.py to dotdict.p
yc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\encoding.py to encoding
.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\encodingsniffer.py to e
ncodingsniffer.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\error.py to error.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\escaping.py to escaping
.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\etreewrapper.py to etre
ewrapper.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\frange.py to frange.pyc

byte-compiling C:\Python27\Lib\site-packages\robot\utils\htmlformatters.py to ht
mlformatters.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\importer.py to importer
.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\markuputils.py to marku
putils.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\markupwriters.py to mar
kupwriters.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\match.py to match.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\misc.py to misc.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\normalizing.py to norma
lizing.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\ordereddict.py to order
eddict.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\platform.py to platform
.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\recommendations.py to r
ecommendations.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\robotenv.py to robotenv
.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\robotinspect.py to robo
tinspect.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\robotpath.py to robotpa
th.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\robottime.py to robotti
me.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\robottypes.py to robott
ypes.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\setter.py to setter.pyc

byte-compiling C:\Python27\Lib\site-packages\robot\utils\text.py to text.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\unic.py to unic.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\utf8reader.py to utf8re
ader.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\utils\__init__.py to __init__
.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\variables\assigner.py to assi
gner.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\variables\filesetter.py to fi
lesetter.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\variables\finders.py to finde
rs.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\variables\isvar.py to isvar.p
yc
byte-compiling C:\Python27\Lib\site-packages\robot\variables\notfound.py to notf
ound.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\variables\replacer.py to repl
acer.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\variables\splitter.py to spli
tter.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\variables\store.py to store.p
yc
byte-compiling C:\Python27\Lib\site-packages\robot\variables\tablesetter.py to t
ablesetter.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\variables\variables.py to var
iables.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\variables\__init__.py to __in
it__.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\version.py to version.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\writer\aligners.py to aligner
s.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\writer\dataextractor.py to da
taextractor.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\writer\datafilewriter.py to d
atafilewriter.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\writer\filewriters.py to file
writers.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\writer\formatters.py to forma
tters.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\writer\htmlformatter.py to ht
mlformatter.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\writer\htmltemplate.py to htm
ltemplate.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\writer\rowsplitter.py to rows
plitter.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\writer\__init__.py to __init_
_.pyc
byte-compiling C:\Python27\Lib\site-packages\robot\__init__.py to __init__.pyc
running install_scripts
copying build\scripts-2.7\pybot.bat -> C:\Python27\Scripts
copying build\scripts-2.7\rebot.bat -> C:\Python27\Scripts
running install_egg_info
Writing C:\Python27\Lib\site-packages\robotframework-2.9.dev20150410-py2.7.egg-i
nfo

 3 pip安装selenium2library

C:\Python27\Scripts>pip install robotframework-selenium2library -i http://pypi.d
ouban.com/simple/
Downloading/unpacking robotframework-selenium2library
  http://pypi.douban.com/simple/robotframework-selenium2library/ uses an insecur
e transport scheme (http). Consider using https if pypi.douban.com has it availa
ble
  Running setup.py (path:c:\users\admin\appdata\local\temp\pip_build_admin\robot
framework-selenium2library\setup.py) egg_info for package robotframework-seleniu
m2library

    warning: no previously-included files found matching '*\*.txt'
    warning: no previously-included files found matching '*\*.rst'
    warning: no files found matching '*.rst' under directory 'demo'
    warning: no files found matching '*.sh' under directory 'demo'
    warning: no files found matching '*.bat' under directory 'demo'
    warning: no files found matching '*.js' under directory 'demo'
    no previously-included directories found matching 'demo\reports'
    no previously-included directories found matching 'demo\selenium_log.txt'
    no previously-included directories found matching 'demo\output.xml'
    warning: no previously-included files matching '*.pyc' found under directory
 'src'
Downloading/unpacking decorator>=3.3.2 (from robotframework-selenium2library)
  http://pypi.douban.com/simple/decorator/ uses an insecure transport scheme (ht
tp). Consider using https if pypi.douban.com has it available
  Downloading decorator-4.0.10-py2.py3-none-any.whl
Downloading/unpacking selenium>=2.32.0 (from robotframework-selenium2library)
  http://pypi.douban.com/simple/selenium/ uses an insecure transport scheme (htt
p). Consider using https if pypi.douban.com has it available
Requirement already satisfied (use --upgrade to upgrade): robotframework>=2.6.0
in c:\python27\lib\site-packages (from robotframework-selenium2library)
Downloading/unpacking docutils>=0.8.1 (from robotframework-selenium2library)
  http://pypi.douban.com/simple/docutils/ uses an insecure transport scheme (htt
p). Consider using https if pypi.douban.com has it available
  Running setup.py (path:c:\users\admin\appdata\local\temp\pip_build_admin\docut
ils\setup.py) egg_info for package docutils

    warning: no files found matching 'MANIFEST'
    warning: no files found matching '*' under directory 'extras'
    warning: no previously-included files matching '.cvsignore' found under dire
ctory '*'
    warning: no previously-included files matching '*.pyc' found under directory
 '*'
    warning: no previously-included files matching '*~' found under directory '*
'
    warning: no previously-included files matching '.DS_Store' found under direc
tory '*'
Installing collected packages: robotframework-selenium2library, decorator, selen
ium, docutils
  Running setup.py install for robotframework-selenium2library

    warning: no previously-included files found matching '*\*.txt'
    warning: no previously-included files found matching '*\*.rst'
    warning: no files found matching '*.rst' under directory 'demo'
    warning: no files found matching '*.sh' under directory 'demo'
    warning: no files found matching '*.bat' under directory 'demo'
    warning: no files found matching '*.js' under directory 'demo'
    no previously-included directories found matching 'demo\reports'
    no previously-included directories found matching 'demo\selenium_log.txt'
    no previously-included directories found matching 'demo\output.xml'
    warning: no previously-included files matching '*.pyc' found under directory
 'src'
  Running setup.py install for docutils

    warning: no files found matching 'MANIFEST'
    warning: no files found matching '*' under directory 'extras'
    warning: no previously-included files matching '.cvsignore' found under dire
ctory '*'
    warning: no previously-included files matching '*.pyc' found under directory
 '*'
    warning: no previously-included files matching '*~' found under directory '*
'
    warning: no previously-included files matching '.DS_Store' found under direc
tory '*'
Successfully installed robotframework-selenium2library decorator selenium docuti
ls
Cleaning up...

 

posted @ 2016-08-01 11:48  给你承诺  阅读(1072)  评论(0编辑  收藏  举报