| Modifier and Type | Field and Description |
|---|---|
ScenarioContext |
CallContext.context |
protected ScenarioContext |
Match.context |
ScenarioContext |
StepActions.context |
| 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(ScriptValue called,
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) |
static ScriptValue |
ScriptBindings.evalInNashorn(String exp,
ScenarioContext context,
ScriptEvalContext evalContext) |
static ScriptValue |
Script.evalJavaFunctionCall(java.util.function.Function function,
Object callArg,
ScenarioContext context) |
static ScriptValue |
Script.evalJsExpression(String exp,
ScenarioContext context) |
static ScriptValue |
Script.evalJsExpression(String exp,
ScenarioContext context,
ScriptValue selfValue,
Object root,
Object parent) |
static ScriptValue |
Script.evalJsFunctionCall(jdk.nashorn.api.scripting.ScriptObjectMirror som,
Object callArg,
ScenarioContext context) |
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) |
static Match |
Match.forHttp(ScenarioContext context) |
static Http |
Http.forUrl(ScenarioContext context,
String url) |
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 InputStream |
FileUtils.readFileAsStream(String path,
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) |
static Resource |
FileUtils.toResource(String path,
ScenarioContext context) |
| Constructor and Description |
|---|
CallContext(Feature feature,
ScenarioContext context,
int callDepth,
Map<String,Object> callArg,
int loopIndex,
boolean reuseParentContext,
boolean evalKarateConfig,
String httpClientClass,
Collection<ExecutionHook> executionHooks,
ExecutionHookFactory hookFactory,
boolean perfMode) |
Resource(ScenarioContext sc,
String relativePath) |
ScriptBindings(ScenarioContext context) |
StepActions(ScenarioContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
CliExecutionHook.afterScenario(ScenarioResult result,
ScenarioContext context) |
void |
CliExecutionHook.afterStep(StepResult result,
ScenarioContext context) |
boolean |
CliExecutionHook.beforeScenario(Scenario scenario,
ScenarioContext context) |
boolean |
CliExecutionHook.beforeStep(Step step,
ScenarioContext context) |
String |
CliExecutionHook.getPerfEventName(HttpRequestBuilder req,
ScenarioContext context) |
| Modifier and Type | Field and Description |
|---|---|
ScenarioContext |
ScriptBridge.context |
ScenarioContext |
ScenarioContext.parentContext |
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<ScenarioContext> |
Engine.THREAD_CONTEXT |
| Modifier and Type | Method and Description |
|---|---|
ScenarioContext |
ScenarioContext.copy() |
ScenarioContext |
ScriptBridge.getContext() |
ScenarioContext |
FeatureBackend.getContext() |
ScenarioContext |
ScenarioExecutionUnit.getContext() |
ScenarioContext |
FeaturesBackend.getContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionHook.afterScenario(ScenarioResult result,
ScenarioContext context) |
void |
ExecutionHook.afterStep(StepResult result,
ScenarioContext context) |
boolean |
ExecutionHook.beforeScenario(Scenario scenario,
ScenarioContext context) |
boolean |
ExecutionHook.beforeStep(Step step,
ScenarioContext context) |
Plugin |
PluginFactory.create(ScenarioContext context,
Map<String,Object> options) |
String |
ExecutionHook.getPerfEventName(HttpRequestBuilder req,
ScenarioContext context) |
void |
ScenarioExecutionUnit.reset(ScenarioContext context) |
void |
Plugin.setContext(ScenarioContext context) |
| Constructor and Description |
|---|
ScenarioExecutionUnit(Scenario scenario,
List<StepResult> results,
ExecutionContext exec,
ScenarioContext backgroundContext) |
ScriptBridge(ScenarioContext context) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Long,ScenarioContext> |
DapServerHandler.FRAMES |
| Modifier and Type | Method and Description |
|---|---|
protected ScenarioContext |
DebugThread.getContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
DebugThread.afterScenario(ScenarioResult result,
ScenarioContext context) |
void |
DebugThread.afterStep(StepResult result,
ScenarioContext context) |
boolean |
DebugThread.beforeScenario(Scenario scenario,
ScenarioContext context) |
boolean |
DebugThread.beforeStep(Step step,
ScenarioContext context) |
protected void |
DapServerHandler.evaluatePreStep(ScenarioContext context) |
String |
DebugThread.getPerfEventName(HttpRequestBuilder req,
ScenarioContext context) |
| Constructor and Description |
|---|
StackFrame(long frameId,
ScenarioContext context) |
| Modifier and Type | Method and Description |
|---|---|
ScenarioContext |
DriverOptions.getContext() |
| Modifier and Type | Method and Description |
|---|---|
default void |
Driver.setContext(ScenarioContext context) |
void |
DriverOptions.setContext(ScenarioContext context) |
static Driver |
DriverOptions.start(ScenarioContext context,
Map<String,Object> options,
LogAppender appender) |
| Constructor and Description |
|---|
DriverOptions(ScenarioContext context,
Map<String,Object> options,
LogAppender appender,
int defaultPort,
String defaultExecutable) |
| Modifier and Type | Method and Description |
|---|---|
static IosDriver |
IosDriver.start(ScenarioContext context,
Map<String,Object> map,
LogAppender appender) |
static AndroidDriver |
AndroidDriver.start(ScenarioContext context,
Map<String,Object> map,
LogAppender appender) |
| Modifier and Type | Method and Description |
|---|---|
static Chrome |
Chrome.start(ScenarioContext context,
Map<String,Object> map,
LogAppender appender) |
static ChromeWebDriver |
ChromeWebDriver.start(ScenarioContext context,
Map<String,Object> map,
LogAppender appender) |
| Modifier and Type | Method and Description |
|---|---|
static GeckoWebDriver |
GeckoWebDriver.start(ScenarioContext context,
Map<String,Object> map,
LogAppender appender) |
| Modifier and Type | Method and Description |
|---|---|
static EdgeDevToolsDriver |
EdgeDevToolsDriver.start(ScenarioContext context,
Map<String,Object> map,
LogAppender appender) |
static IeWebDriver |
IeWebDriver.start(ScenarioContext context,
Map<String,Object> map,
LogAppender appender) |
static MsWebDriver |
MsWebDriver.start(ScenarioContext context,
Map<String,Object> map,
LogAppender appender) |
static WinAppDriver |
WinAppDriver.start(ScenarioContext context,
Map<String,Object> map,
LogAppender appender) |
static MsEdgeDriver |
MsEdgeDriver.start(ScenarioContext context,
Map<String,Object> map,
LogAppender appender) |
| Modifier and Type | Method and Description |
|---|---|
static SafariWebDriver |
SafariWebDriver.start(ScenarioContext context,
Map<String,Object> map,
LogAppender appender) |
| 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 © 2020. All rights reserved.