public class StoreValueOfVarPlugin
extends et.seleniet.api.ElementIndependentKeywordPlugin
implements et.seleniet.api.NoStepScreenshot
This plugin allows to store the value of a variable in another variable. The first and last name may contain variables arguments like #[var]. This plugin is very useful in context of loops where you have indexed variables (address.1, address.2, address.3,...) which you want to use in the loop based on a counter variable.
In such a scenario you would specify
storevalueofvar address.#[counter],curraddrand use the curraddr variable inside the loop.
| Constructor and Description |
|---|
StoreValueOfVarPlugin() |
| 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 org.openqa.selenium.NoSuchElementException
execute in class et.seleniet.api.KeywordPluginorg.openqa.selenium.NoSuchElementExceptionCopyright © 2016 Thomas Eitzenberger. All rights reserved.