public class DBConnectPlugin
extends et.seleniet.api.ElementIndependentKeywordPlugin
implements et.seleniet.api.NoStepScreenshot
This plugin opens a connection to a jdbc compliant database and stores it as a named connection so that multiple connections can be kept open at the same time. To switch between connections just use the command without the jdbcurl and credential info. We do support mysql and oracle JDBC drivers at the moment.
Attention: Make sure to have the connector jar file in your classpath /./lib or ./lib/ext) when starting Seleniet.
| Constructor and Description |
|---|
DBConnectPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(et.seleniet.api.Seleniet driver,
org.openqa.selenium.WebElement elem,
String page,
List<String> lineArgs,
List<String> tcParams) |
void |
tearDown() |
public void execute(et.seleniet.api.Seleniet driver,
org.openqa.selenium.WebElement elem,
String page,
List<String> lineArgs,
List<String> tcParams)
throws et.seleniet.api.AbortException
execute in class et.seleniet.api.KeywordPluginet.seleniet.api.AbortExceptionpublic void tearDown()
tearDown in class et.seleniet.api.KeywordPluginCopyright © 2016 Thomas Eitzenberger. All rights reserved.