public class DBQueryPlugin
extends et.seleniet.api.ElementIndependentKeywordPlugin
implements et.seleniet.api.NoStepScreenshot
This plugin performs a SQL query and compares it with the given expected
result. The result must be a single column. Multicolumns will be ignored in
the sense that only the first column is read. Needs DBConnectPlugin
to open a connection to the database before.
| Constructor and Description |
|---|
DBQueryPlugin() |
| 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) |
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,
et.seleniet.api.SystemAbortException
execute in class et.seleniet.api.KeywordPluginet.seleniet.api.AbortExceptionet.seleniet.api.SystemAbortExceptionCopyright © 2016 Thomas Eitzenberger. All rights reserved.