Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

RobotFramework debug library and an interactive shell

Project Description

Introduction

Robotframework-DebugLibrary is A debug library for RobotFramework, which can be used as an interactive shell(REPL) also.

Installation

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

Usage

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'
> ${secs} =  Get Time  epoch
<  ${secs} = 1474814470
> Log to console  ${secs}
1474814470
> @{list} =  Create List    hello    world
<  @{list} = [u'hello', u'world']
> Log to console  ${list}
[u'hello', u'world']
> &{dict} =  Create Dictionary    name=admin    email=admin@test.local
<  &{dict} = {u'name': u'admin', u'email': u'admin@test.local'}
> Log  ${dict.name}
> help selenium
Start a selenium 2 webdriver and open google.com or other url in firefox or other browser you expect.
selenium  [<url>]  [<browser>]
> selenium  http://www.google.com/  chrome
import library  Selenium2Library
open browser  http://www.google.com/  chrome
> close all browsers
> Ctrl-D
>>>>> Exit shell.

License

This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text.

Release History

Release History

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.9.1

History Node

0.9.0

This version
History Node

0.8.2

History Node

0.8.1

History Node

0.8

History Node

0.7.1

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
robotframework_debuglibrary-0.8.2-py2.py3-none-any.whl (7.3 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jul 27, 2017
robotframework-debuglibrary-0.8.2.tar.gz (6.4 kB) Copy SHA256 Checksum SHA256 Source Jul 27, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting