Modifier and Type | Field and Description |
---|---|
static String |
FORMATTER |
cryptoService, cucumberExpressionService, SECURE_MASK, userNameService
Constructor and Description |
---|
TimeSteps() |
Modifier and Type | Method and Description |
---|---|
void |
changeDate(String targetKey,
Map<String,String> params) |
void |
initDateInContext(String targetKey,
Map<String,String> params) |
void |
initializeBusinessDayWithAdd(int offsetDay,
String targetKey,
Map<String,String> params) |
void |
initializeBusinessDayWithMinus(int offsetDay,
String targetKey,
Map<String,String> params) |
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
public static final String FORMATTER
@Et(value="J\'initialise une date et je sauvegarde dans la cl\u00e9 {string} du contexte:") @And(value="I initialize a date and I save in {string} context key:") public void initDateInContext(String targetKey, Map<String,String> params) throws FailureException
targetKey
- is target key for the context.params
- contains formatter ("yyyy-MM-dd" by default), zone ("Europe/London" by default)FailureException
- if the scenario encounters a functional error@Et(value="J\'initialise une date avec aujourd\'hui plus {int} en jour ouvr\u00e9s et je sauvegarde dans la cl\u00e9 {string} du contexte:") @And(value="I initialize a date with today plus {int} in business day and I save in {string} context key:") public void initializeBusinessDayWithAdd(int offsetDay, String targetKey, Map<String,String> params) throws FailureException
FailureException
@Et(value="J\'initialise une date avec aujourd\'hui moins {int} en jours ouvr\u00e9s et je sauvegarde dans la cl\u00e9 {string} du contexte:") @And(value="I initialize a date with today minus {int} in business days and I save in {string} context key:") public void initializeBusinessDayWithMinus(int offsetDay, String targetKey, Map<String,String> params) throws FailureException
FailureException
@Et(value="Je change la date et je sauvegarde dans la cl\u00e9 {string} du contexte:") @And(value="I change date and I save in {string} context key:") public void changeDate(String targetKey, Map<String,String> params) throws FailureException
targetKey
- is target key for the context.params
- contains formatter ("yyyy-MM-dd" by default), zone ("Europe/London" by default)
and the list of possible add (plusNanos, plusSeconds, plusMinutes, plusHours, plusDays, plusWeeks, plusMonths)
and the list of possible sub (minusNanos, minusSeconds, minusMinutes, minusHours, minusDays, minusWeeks, minusMonths).FailureException
- if the scenario encounters a functional errorCopyright © 2023 NoraUi. All rights reserved.