https://github.com/imbus/robotframework-testobject
A simple test object for robot framework without external dependancies and without UI that can be used for trainings and demos
https://github.com/imbus/robotframework-testobject
Last synced: 4 months ago
JSON representation
A simple test object for robot framework without external dependancies and without UI that can be used for trainings and demos
- Host: GitHub
- URL: https://github.com/imbus/robotframework-testobject
- Owner: imbus
- License: apache-2.0
- Created: 2024-10-02T15:11:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-02T16:24:19.000Z (over 1 year ago)
- Last Synced: 2025-11-27T19:54:09.193Z (7 months ago)
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# robotframework-testobject
A simple test object for robot framework without external dependancies and without UI that can be used for trainings and demos
## Installation
```bash
pip install robotframework-testobject
```
## Usage
```robot
*** Settings ***
Library TestObject
*** Test Cases ***
Test Password Change
Login User captain 1234567890
${username} = Get Username
Should Be Equal Steve Rogers ${username}
Change Own Password new_password=new_password old_password=1234567890
Logout User
TRY
Login User captain 1234567890
EXCEPT ValueError: Invalid Password AS ${e}
Log Access Denied
ELSE
Fail illegal access possible
END
Login User captain new_password
```