The following pages and posts are tagged with
Title | Type | Excerpt |
---|---|---|
BDD Custom Step Definition | Page | Steps can be defined in bdl The Basic Step definition is following. STEP-DEF:<meaningfull step description> [Keyword] <first step description with parameters> … [Keyword] <nth step description> END While execution make sure required bdl files are mentioned in step.provider.pkg property as below <pre... |
BDD Keyword Synonyms | Page | Default BDD Keywords : Given,When,Then,And,Using,Having,With Modify/Change this keywords with required Keyword, by specifying property as below For Example : Given=Provided;GivenThat “Given“ synonym enables “Provided” and “GivenThat” use case of such feature can be where user want to have BDD in different language other than English... |
Define Test Suite | Page | Behavior driven test suite consist of one or more Scenarios. Each scenario represents one test case. One can provide optional related information as background or narrative or user-story related to scenarios authored in the suite. Save your suite file with .bdd extension. Formation of Suite <div class="language-plaintext... |
Describe Test Step | Page | Test step can be defined in .java or .bdl files. It consists of description, with which it is known. Step in Java @QAFTestStep(description="meaning full step descriptor") public <return_type> stepMethod(<parameters>) {... |
Test Step Metadata | Page | Supports for Custom Meta-Data at test step level. Example: Here, groups is a custom meta-data for step. JAVA @MetaData(value = "{'groups':['login']}") @QAFTestStep(description = "user login with username {username} and password {password}") public void login(String username,String password) { //To-do } BDD STEP DEF <div... |
Test Step Threshold and time tracking | Page | Test Step Threshold In Built ‘threshold’ Test Step Meta-Data Support. Example: Login Step should be executed in 10s, if takes more than 10s then it displays as warning in report. User can specify threshold value by following way, Java Step @QAFTestStep(description = "user logins with... |
QAF Gherkin Scenario Factory | Page | Author tests in standard Gherkin format that Cucumber understands with power of QAF as back-end |
Scenario | Page | Scenario consist of meta-data and sequence of steps to represents a single test case. Each step can be started with standard BDD keywords [Given | When | The... |