robotframework-dblibrary

Robot Framework's Java-based library for database testing. Works only with Jython.

License

License

GroupId

GroupId

com.github.hi-fi
ArtifactId

ArtifactId

robotframework-dblibrary
Last Version

Last Version

3.1.3
Release Date

Release Date

Type

Type

jar
Description

Description

robotframework-dblibrary
Robot Framework's Java-based library for database testing. Works only with Jython.
Project URL

Project URL

https://github.com/hi-fi/robotframework-dblibrary
Source Code Management

Source Code Management

https://github.com/hi-fi/robotframework-dblibrary

Download robotframework-dblibrary

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.hi-fi/robotframework-dblibrary/ -->
<dependency>
    <groupId>com.github.hi-fi</groupId>
    <artifactId>robotframework-dblibrary</artifactId>
    <version>3.1.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.hi-fi/robotframework-dblibrary/
implementation 'com.github.hi-fi:robotframework-dblibrary:3.1.3'
// https://jarcasting.com/artifacts/com.github.hi-fi/robotframework-dblibrary/
implementation ("com.github.hi-fi:robotframework-dblibrary:3.1.3")
'com.github.hi-fi:robotframework-dblibrary:jar:3.1.3'
<dependency org="com.github.hi-fi" name="robotframework-dblibrary" rev="3.1.3">
  <artifact name="robotframework-dblibrary" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.hi-fi', module='robotframework-dblibrary', version='3.1.3')
)
libraryDependencies += "com.github.hi-fi" % "robotframework-dblibrary" % "3.1.3"
[com.github.hi-fi/robotframework-dblibrary "3.1.3"]

Dependencies

compile (2)

Group / Artifact Type Version
org.robotframework : javalib-core jar 1.2.1
org.apache.commons : commons-lang3 jar 3.9

test (2)

Group / Artifact Type Version
com.h2database : h2 jar 1.4.199
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Database library for Robot Framework

Introduction

The Robot Framework Database Library is a library which provides common functionality for testing database contents.

  • More information about this library can be found in the Keyword Documentation.
  • For keyword completion in RIDE you can download this Library Specs and place it in your PYTHONPATH. Usage

If you are using the robotframework-maven-plugin you can use this library by adding the following dependency to your pom.xml:

<dependency>
    <groupId>com.github.marketsquare</groupId>
    <artifactId>robotframework-dblibrary</artifactId>
    <version>3.2.0</version>
</dependency>

With Gradle, library can be use by importing it as a dependency in build.gradle:

runtime('com.github.marketsquare:robotframework-dblibrary:3.2.0')

Library import in Robot tests can be done with:

*** Settings ***
Library DatabaseLibrary

Please note that at the library itself there's no JDBC drivers included, so also DB-specific driver needs to be added as a dependency. Test build e.g. uses H2 driver, and it's inclusion can be seen from pom-file.

Example

Usage examples can be found at Tests-folder for local usage. Remote usage is similar, just importing library with Remote library.

Versions

Version
3.1.3
3.1.2
3.1.1
3.0