Robotframework-DebugLibrary is A debug library for RobotFramework, which can be used as an interactive shell(REPL) also.
Installation is done just as for any other Python library. Using the pip
or easy_install
command from setuptools is the easiest.
To install using pip
:
pip install robotframework-debuglibrary
To install using easy_install
:
easy_install robotframework-debuglibrary
You can use this as a library, import DebugLibrary
and call Debug
keyword in your test files like this:
*** Settings ***
Library DebugLibrary
** test case **
SOME TEST
# some keywords...
Debug
Or you can run it standalone as a RobotFramework
shell:
$ rfshell
[...snap...]
>>>>> Enter interactive shell, only accepted plain text format keyword.
> log hello
> get time
< '2011-10-13 18:50:31'
> import library String
> get substring helloworld 5 8
< 'wor'
> selenium http://www.douban.com/
import library SeleniumLibrary
start selenium server
open browser http://www.douban.com/
> Ctrl-D
>>>>> Exit shell.
This software is licensed under the New BSD License
. See the LICENSE
file in the top distribution directory for the full license text.