| Modifier and Type | Field and Description |
|---|---|
ScenarioContext |
CallContext.context |
protected ScenarioContext |
Match.context |
ScenarioContext |
StepActions.context |
ScenarioContext |
CallContext.reportContext |
| Modifier and Type | Method and Description |
|---|---|
static AssertionResult |
Script.assertBoolean(String expression,
ScenarioContext context) |
static ScriptValue |
Script.assign(AssignType assignType,
String name,
String exp,
ScenarioContext context,
boolean validateName) |
static ScriptValue |
Script.assign(String name,
String exp,
ScenarioContext context) |
static ScriptValue |
Script.call(String name,
String argString,
ScenarioContext context,
boolean reuseParentConfig) |
static void |
Script.callAndUpdateConfigAndAlsoVarsIfMapReturned(boolean callOnce,
String name,
String arg,
ScenarioContext context) |
static ScriptValue |
Script.copy(String name,
String exp,
ScenarioContext context,
boolean validateName) |
Map<String,Object> |
ScriptValue.evalAsMap(ScenarioContext context) |
static ScriptValue |
Script.evalFeatureCall(Feature feature,
Object callArg,
ScenarioContext context,
boolean reuseParentConfig,
ScenarioContext reportContext) |
static ScriptValue |
Script.evalFunctionCall(jdk.nashorn.api.scripting.ScriptObjectMirror som,
Object callArg,
ScenarioContext context) |
static ScriptValue |
ScriptBindings.evalInNashorn(String exp,
ScenarioContext context,
ScriptEvalContext evalContext) |
static ScriptValue |
Script.evalJsExpression(String exp,
ScenarioContext context) |
static ScriptValue |
Script.evalJsExpression(String exp,
ScenarioContext context,
ScriptValue selfValue,
Object root,
Object parent) |
static void |
Script.evalJsonEmbeddedExpressions(com.jayway.jsonpath.DocumentContext doc,
ScenarioContext context) |
static ScriptValue |
Script.evalJsonPathOnVarByName(String name,
String exp,
ScenarioContext context) |
static ScriptValue |
Script.evalKarateExpression(String text,
ScenarioContext context) |
static ScriptValue |
Script.evalKarateExpressionForMatch(String text,
ScenarioContext context) |
static List<Map<String,Object>> |
Script.evalTable(List<Map<String,String>> list,
ScenarioContext context) |
static void |
Script.evalXmlEmbeddedExpressions(Node node,
ScenarioContext context) |
static ScriptValue |
Script.evalXmlPathOnVarByName(String name,
String path,
ScenarioContext context) |
static CallContext |
CallContext.forCall(Feature feature,
ScenarioContext context,
Map<String,Object> callArg,
int loopIndex,
boolean reuseParentConfig,
ScenarioContext reportContext) |
static InputStream |
FileUtils.getFileStream(String path,
ScenarioContext context) |
static ScriptValue |
Script.getIfVariableReference(String text,
ScenarioContext context) |
ScriptValue |
ScriptValue.invokeFunction(ScenarioContext context,
Object callArg) |
static AssertionResult |
Script.matchJsonOrObject(MatchType matchType,
ScriptValue actual,
String path,
String expression,
ScenarioContext context) |
static AssertionResult |
Script.matchNamed(MatchType matchType,
String expression,
String path,
String expected,
ScenarioContext context) |
static AssertionResult |
Script.matchNestedObject(char delimiter,
String path,
MatchType matchType,
Object actRoot,
Object actParent,
Object actObject,
Object expObject,
ScenarioContext context) |
static AssertionResult |
Script.matchScriptValue(MatchType matchType,
ScriptValue actual,
String path,
String expected,
ScenarioContext context) |
static AssertionResult |
Script.matchString(MatchType matchType,
ScriptValue actual,
String expected,
String path,
ScenarioContext context) |
static AssertionResult |
Script.matchStringOrPattern(char delimiter,
String path,
MatchType stringMatchType,
Object actRoot,
Object actParent,
ScriptValue actValue,
String expected,
ScenarioContext context) |
static AssertionResult |
Script.matchXml(MatchType matchType,
ScriptValue actual,
String path,
String expression,
ScenarioContext context) |
static ScriptValue |
FileUtils.readFile(String text,
ScenarioContext context) |
static String |
FileUtils.readFileAsString(String path,
ScenarioContext context) |
static void |
Script.removeValueByPath(String name,
String path,
ScenarioContext context) |
static String |
Script.replacePlaceholders(String text,
List<Map<String,String>> list,
ScenarioContext context) |
static String |
Script.replacePlaceholderText(String text,
String token,
String replaceWith,
ScenarioContext context) |
static void |
Script.setByPathTable(String name,
String path,
List<Map<String,String>> list,
ScenarioContext context) |
static void |
Script.setValueByPath(String name,
String path,
ScriptValue value,
boolean delete,
ScenarioContext context,
boolean viaTable) |
static void |
Script.setValueByPath(String name,
String path,
ScriptValue value,
ScenarioContext context) |
static void |
Script.setValueByPath(String name,
String path,
String exp,
boolean delete,
ScenarioContext context,
boolean viaTable) |
static void |
Script.setValueByPath(String name,
String path,
String exp,
ScenarioContext context) |
static com.jayway.jsonpath.DocumentContext |
Script.toJsonDoc(ScriptValue sv,
ScenarioContext context) |
| Constructor and Description |
|---|
CallContext(Feature feature,
ScenarioContext context,
int callDepth,
Map<String,Object> callArg,
int loopIndex,
ScenarioContext reportContext,
boolean reuseParentContext,
boolean evalKarateConfig,
String httpClientClass,
Collection<ExecutionHook> executionHooks,
boolean perfMode) |
ScriptBindings(ScenarioContext context) |
StepActions(ScenarioContext context) |
| Modifier and Type | Field and Description |
|---|---|
ScenarioContext |
ScriptBridge.context |
ScenarioContext |
ScenarioContext.parentContext |
| Modifier and Type | Method and Description |
|---|---|
ScenarioContext |
ScenarioContext.copy() |
ScenarioContext |
ScenarioContext.copy(ScenarioInfo info,
Logger logger) |
ScenarioContext |
ScriptBridge.getContext() |
ScenarioContext |
FeatureBackend.getContext() |
ScenarioContext |
ScenarioExecutionUnit.getContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionHook.afterScenario(ScenarioResult result,
ScenarioContext context) |
boolean |
ExecutionHook.beforeScenario(Scenario scenario,
ScenarioContext context) |
String |
ExecutionHook.getPerfEventName(HttpRequestBuilder req,
ScenarioContext context) |
void |
ScenarioExecutionUnit.reset(ScenarioContext context) |
| Constructor and Description |
|---|
ScenarioExecutionUnit(Scenario scenario,
List<StepResult> results,
ExecutionContext exec,
ScenarioContext backgroundContext,
Logger logger) |
ScriptBridge(ScenarioContext context) |
| Modifier and Type | Method and Description |
|---|---|
static Driver |
DriverOptions.start(ScenarioContext context,
Map<String,Object> options,
Logger logger) |
| Constructor and Description |
|---|
DriverOptions(ScenarioContext context,
Map<String,Object> options,
Logger logger,
int defaultPort,
String defaultExecutable) |
| Modifier and Type | Method and Description |
|---|---|
static AndroidDriver |
AndroidDriver.start(ScenarioContext context,
Map<String,Object> map,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
static Chrome |
Chrome.start(ScenarioContext context,
Map<String,Object> map,
Logger logger) |
static ChromeWebDriver |
ChromeWebDriver.start(ScenarioContext context,
Map<String,Object> map,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
static MicrosoftWebDriver |
MicrosoftWebDriver.start(ScenarioContext context,
Map<String,Object> map,
Logger logger) |
static EdgeDevToolsDriver |
EdgeDevToolsDriver.start(ScenarioContext context,
Map<String,Object> map,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
static GeckoWebDriver |
GeckoWebDriver.start(ScenarioContext context,
Map<String,Object> map,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
static IosDriver |
IosDriver.start(ScenarioContext context,
Map<String,Object> map,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
static SafariWebDriver |
SafariWebDriver.start(ScenarioContext context,
Map<String,Object> map,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
static WinAppDriver |
WinAppDriver.start(ScenarioContext context,
Map<String,Object> map,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
HttpClient.configure(Config config,
ScenarioContext context)
guaranteed to be called once if empty constructor was used
|
void |
DummyHttpClient.configure(Config config,
ScenarioContext context) |
static HttpClient |
HttpClient.construct(Config config,
ScenarioContext context) |
static KeyStore |
HttpUtils.getKeyStore(ScenarioContext context,
String trustStoreFile,
String password,
String type) |
HttpResponse |
HttpClient.invoke(HttpRequestBuilder request,
ScenarioContext context) |
protected HttpResponse |
DummyHttpClient.makeHttpRequest(String entity,
ScenarioContext context) |
protected abstract HttpResponse |
HttpClient.makeHttpRequest(T entity,
ScenarioContext context) |
Copyright © 2019. All rights reserved.