Skip to main content

Robot Framework library for working with KeePass Database

Project description

KeePass Library

This library enables Robot Framework to interact with KeePass databases.

Supported KeePass versions:

  • KDBX3
  • KDBX4

KeepassLibrary uses the PyKeePass modules internally to access KeePass databases

See for more information about KeePass in general


0.1.0 Alpha


The recommended approach to install KeePassLibrary, regardless the version, is using pip.

Install (or upgrade) the latest KeePassLibrary version:

pip install --upgrade robotframework-keepasslibrary


*** Settings ***
Documentation     A test suite with a single test for retrieving a password.
...               The test loads a KeePass database named example.kbx using 
...               the keyfile example.key. 
...               It then retrieves the first entry that matches the Username spam_user
...               and logs the password from the returned KeePass database entry
Import            KeePassLibrary

*** Test Cases ***
Get KeePass Database Entry
    Get KeePass Database       Database.kdbx    keyfile=Database.key        
    ${entry}= Get Entries By Username    User Name    first=True  
  Log   Password for spam_user is ${entry.password}

Project details

Download files

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

Files for robotframework-keepasslibrary, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size robotframework_keepasslibrary-0.1.0-py3-none-any.whl (5.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size robotframework-keepasslibrary-0.1.0.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page