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... |
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>) {... |
KWD Custom Step Definition | Page | Steps can be defined in kwl The Basic Step definition is following. STEP-DEF|<stepName>|{"description":"<meaningfull step description>",<meta-key>:<meta-value>} <first stepName>|<step input parameters>|<step out parameters> ... <nth stepName>|<step input parameters>|<step out parameters> END|| While execution make sure required kwl files are mentioned in step.provider.pkg property as below <div class="language-properties... |
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... |
Test Data | Page | {% include inline_image.html file="worddavbc574dd694d63ef066aa760b1d31af80.png" alt="Test Data Diagram" %} ## Properties: You can create properties file as per your requirement under resources dir. Properties will be available in your test case and test page. You can directly access by **props/pageProps** object available at test/page level. Example: String someprop = props.getString("some.property"); ##... |