cryptoService, cucumberExpressionService, SECURE_MASK, userNameService
Constructor and Description |
---|
ContextSteps() |
Modifier and Type | Method and Description |
---|---|
void |
checkThatValueInContextContains(String srcValueOrKey,
String compareValueOrKey,
List<GherkinStepCondition> conditions)
Check that value (or value in context) contains value (or value in context).
|
void |
checkThatValueInContextEqualsIgnoreCaseTo(String srcValueOrKey,
String compareValueOrKey,
List<GherkinStepCondition> conditions)
Check that value (or value in context) equals ignore case to value (or value in context).
|
void |
checkThatValueInContextEqualsTo(String srcValueOrKey,
String compareValueOrKey,
List<GherkinStepCondition> conditions)
Check that value (or value in context) equals to value (or value in context).
|
void |
copyContext(String srcValueOrKey,
String targetKey,
List<GherkinStepCondition> conditions)
Copy source value or value in context.
|
void |
generateAndSaveTextWithRamdomValueMatchRegexp(String randRegex,
String targetKey,
List<GherkinStepCondition> conditions)
Save in context a text generated with ramdom match a regExp.
|
checkAlert, checkElementPresence, checkElementVisible, checkInputText, checkInputText, checkMandatoryTextField, checkRadioList, checkRadioList, checkStep, checkText, checkTextContains, checkTextSelectedInList, clearText, clearText, clearText, clearText, clickOn, clickOn, clickOnByJs, clickOnByJs, clickOnByJs, clickOnByJs, displayConcernedElementsAtTheBeginningOfMethod, displayMessageAtTheBeginningOfMethod, displayMessageAtTheBeginningOfMethod, expectText, expectText, expectTextContains, expectTextContains, getAlertMessage, getDriver, getTextOrKey, passOver, readValueTextField, runAllStepsInLoop, saveElementValue, saveElementValue, selectCheckbox, selectCheckbox, setText, setText, setText, switchFrame, updateDateValidated, updateList, updateRadioList, updateRadioList, updateText, updateText, updateText, updateText, uploadFile
@Et(value="Je v\u00e9rifie que {string} est \u00e9gal \u00e0 {string}(\\?)") @And(value="I check that {string} equals to {string}(\\?)") public void checkThatValueInContextEqualsTo(String srcValueOrKey, String compareValueOrKey, List<GherkinStepCondition> conditions) throws FailureException, TechnicalException
srcValueOrKey
- is source value (or value in context).compareValueOrKey
- is value compared (or value in context).conditions
- list of 'expected' values condition and 'actual' values
(GherkinStepCondition
).FailureException
- if the scenario encounters a functional errorTechnicalException
- is throws if you have a technical error (format, configuration, datas, ...) in NoraUi.@Et(value="Je v\u00e9rifie que {string} est \u00e9gal \u00e0 {string} en ignorant la case(\\?)") @And(value="I check that {string} equals ignore case to {string}(\\?)") public void checkThatValueInContextEqualsIgnoreCaseTo(String srcValueOrKey, String compareValueOrKey, List<GherkinStepCondition> conditions) throws FailureException, TechnicalException
srcValueOrKey
- is source value (or value in context).compareValueOrKey
- is value compared (or value in context).conditions
- list of 'expected' values condition and 'actual' values
(GherkinStepCondition
).FailureException
- if the scenario encounters a functional errorTechnicalException
- is throws if you have a technical error (format, configuration, datas, ...) in NoraUi.@Et(value="Je v\u00e9rifie que {string} contient {string}(\\?)") @And(value="I check that {string} contains {string}(\\?)") public void checkThatValueInContextContains(String srcValueOrKey, String compareValueOrKey, List<GherkinStepCondition> conditions) throws FailureException, TechnicalException
srcValueOrKey
- is source value (or value in context).compareValueOrKey
- is value compared (or value in context).conditions
- list of 'expected' values condition and 'actual' values
(GherkinStepCondition
).FailureException
- if the scenario encounters a functional errorTechnicalException
- is throws if you have a technical error (format, configuration, datas, ...) in NoraUi.@Quand(value="Je g\u00e9n\u00e8re du texte al\u00e9atoire correspond \u00e0 {string} et j\'enregistre la valeur dans la cl\u00e9 {string} du contexte(\\?)") @When(value="I generate text with ramdom match {string} and save the value in {string} context key(\\?)") public void generateAndSaveTextWithRamdomValueMatchRegexp(String randRegex, String targetKey, List<GherkinStepCondition> conditions) throws TechnicalException, FailureException
randRegex
- Is the new data (random value generated and match with randRegex)targetKey
- Target key to save retrieved value.conditions
- list of 'expected' values condition and 'actual' values
(GherkinStepCondition
).FailureException
- if the scenario encounters a functional errorTechnicalException
- is throws if you have a technical error (format, configuration, datas, ...) in NoraUi.@Quand(value="Je copie {string} dans la cl\u00e9 {string} du contexte(\\?)") @When(value="I copy {string} to {string} context key(\\?)") public void copyContext(String srcValueOrKey, String targetKey, List<GherkinStepCondition> conditions) throws TechnicalException, FailureException
srcValueOrKey
- is source value (or value in context).targetKey
- Target key to save retrieved value.conditions
- list of 'expected' values condition and 'actual' values
(GherkinStepCondition
).FailureException
- if the scenario encounters a functional errorTechnicalException
- is throws if you have a technical error (format, configuration, datas, ...) in NoraUi.Copyright © 2023 NoraUi. All rights reserved.