https://github.com/robotframework-terminal/plaintextterminal
Robot Framework Suite for Plain Text Terminal testing
https://github.com/robotframework-terminal/plaintextterminal
plaintext-terminal python robotframework robotframework-library
Last synced: 11 months ago
JSON representation
Robot Framework Suite for Plain Text Terminal testing
- Host: GitHub
- URL: https://github.com/robotframework-terminal/plaintextterminal
- Owner: robotframework-terminal
- License: apache-2.0
- Created: 2024-07-10T03:16:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-12T15:39:56.000Z (over 1 year ago)
- Last Synced: 2025-02-26T07:43:31.024Z (11 months ago)
- Topics: plaintext-terminal, python, robotframework, robotframework-library
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
The Plain Text Terminal works cross Telnet and SSH, without modification the Robot code
## How to install
* $ python3 -m pip install -e git+https://github.com/robotframework-terminal/PlainTextTerminal.git@v1.0.0#egg=PlainTextTerminal
## How to use it under a virtual environment
#### Active the virtual enviroment
* $ python3 -m venv .venv
* $ source .venv/bin/activate
* $ python3 -m pip install --upgrade -r requirements.txt
#### Deactive the virtual enviroment
* $ deactivate
## Example
#### With library import default configuration
```
*** Settings ***
Library PlainTextTerminal
... connection=+IPv4
... prompt=REGEXP:[$#]
Suite Teardown Close All Connections
*** Test Cases ***
How to say Hi!
[Documentation] Let say Hi!
Login
... username=USERNAME
... password=PASSWORD
Write Bare
... text=echo "Hi!"
Read Until Prompt
[Teardown] Close Connection
```
#### With empty library import configuration
```
*** Settings ***
Library PlainTextTerminal
Suite Teardown Close All Connections
*** Test Cases ***
How to say Hi!
[Documentation] Let say Hi!
[Setup] Open Connection
... connection=+IPv4
... prompt=REGEXP:[$#]
Login
... username=USERNAME
... password=PASSWORD
Write Bare
... text=echo "Hi!"
Read Until Prompt
[Teardown] Close Connection
```