Skip to content

tw39124-1/robotframework-consoledialogs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConsoleDialogs

A pure console replacement for the Robot Framework Dialogs library that uses curses when installed, and otherwise falls back to raw_input(...) based dialogs.

ConsoleDialogs has exactly the same API as the builtin Dialogs library.

Installation

git clone <git-url> # Get the git URL at Github page of this project
cd robotframework-consoledialogs
python setup.py install

Usage

*** Settings ***
Library  ConsoleDialogs

*** Test Cases ***
Test Manual Step
    Execute Manual Step

Test Selection From User
    ${username}=     Get Selection From User     Select user name    user1   user2   admin

Test Value From User
    ${value}=        Get Value From User     Provide a name      default value
    ${secret}=       Get Value From User     Provide a password  hidden=yes

Test pause Execution
    Pause Execution
    Pause Execution  message=Execution stopped. Hit [Return] to continue.

PyPI

https://pypi.python.org/pypi/robotframework-consoledialogs

Source code

https://github.com/tw39124-1/robotframework-consoledialogs

Issues tracker

https://github.com/tw39124-1/robotframework-consoledialogs/issues

About

A pure console replacement of the Robot Framework Dialogs library, using curses when installed.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%