Questions tagged [qaf]

QAF (acronym of "QMetry Automation Framework" ) open source test automation framework for functional test automation using selenium, web-driver, appium and for rest based web-service. Use this tag when the question is related to test automation using QMetry Automation Framework.

QMetry Automation Framework was formerly known as ISFW (InfoStretch automation framework), is an open source test automation framework which support functional test automation of web, mobile-web and mobile-native application. It also supports rest web-service automation. It has powerful design concepts like testcase, testpage, test-step, custom-components, self-descriptive-locator, data-bean, listeners etc...

It supports different way of authoring test case including

  • Java (TestNG) : You can opt for standard TestNG test
  • Behavior Driven: It supports multiple BDD syntax.
  • Keyword Driven: It supports keyword driven testing by authoring test in CSV, Excel or XML using in-built keyword and defining your own custom keyword

All of the above test authoring way has data-driven test capability where your test data can resides in CSV or JSON or XML or EXCEL file or even in Database.

References:

187 questions
1
vote
1 answer

Cucumber gherkin use different data files in the same scenario

Really hope someone can help on this. Is it possible to use 2 different external data files in the "Examples" in cucumber? like below: @play_movie Scenario Outline: play a video on the web site When I choose a movie by "" and…
LeonLee
  • 13
  • 4
1
vote
2 answers

QAF Reports are not populated in dashboard.htm

Got the latest code here: https://github.com/infostretch/qaf-report. Extracted dashboard directory & dashboard.htm to the project root directory. Ran QAF tests. Opened dashboard.htm during test run & also after test run. Tried to open dashboard.htm…
Vishwathma
  • 91
  • 1
  • 10
1
vote
1 answer

QAF: com.qmetry.qaf.automation.step.StepInvocationException: Unable to Instantiate JavaStep:

We are using QAF for our mobile automation. And there is 1 step in .bdd file which is common and also actually the first step for many of the tests . META-DATA: {"author":"","description":"SRS-HLP-001-001", "fullReset":true ,groups:[…
Vishwathma
  • 91
  • 1
  • 10
1
vote
1 answer

How to manage response data of steps implemented in Gherkin using QAF API?

Looking for ways to carry over data from previous step to subsequent using QAF. Is there an option for such behavior?
user3812972
  • 77
  • 1
  • 6
1
vote
1 answer

How to utilize QAF BDD and Gherkin with testng features

I've successfully added QAF BDD API with required configuration to run feature files with java steps. My current project utilizes TestNG listeners and annotations to setup Base classes, as well as preset other required data for script execution.…
user3812972
  • 77
  • 1
  • 6
1
vote
1 answer

com.qmetry.qaf.automation.step.client.ScenarioFactory.getTestsFromFile() threw an exception

Followed steps outlined here: https://qmetry.github.io/qaf/qaf-2.1.14/gherkin_client.html
user3812972
  • 77
  • 1
  • 6
1
vote
1 answer

How to exclude particular scenarios in BDD using QAF BDD2 framework?

I have a feature file containing multiple scenarios, few of them are manual. When I run my scenarios I want to exclude Manual scenarios. How to exclude Manual scenarios using QAF BDD2? Ex: Feature Hello @channel.. @run Scenario: Run this…
Akshata
  • 11
  • 1
1
vote
1 answer

What is the difference between Cucumber and QAF BDD2

What is the difference between Cucumber and QAF bdd, What are the features which QAF has which is not available in Cucumber and what are the features which are available in Cucumber and not available in QAF Bdd.
Sssssss
  • 31
  • 4
1
vote
4 answers

Cucumber - How to configure QAF Gherkin Scenario Factory?

I have a Cucumber project running thanks to JUnit with the following class: @RunWith(Cucumber.class) @CucumberOptions( features = "src/test/resources/features", glue = "com.steps", plugin = {"pretty",…
Flyout91
  • 782
  • 10
  • 31
1
vote
0 answers

Getting javascript error: comment is not defined in QAF Quantum

I am getting the below error in console before starting of any scenario in QAF. What could be the possible reason ? Caused by: org.openqa.selenium.JavascriptException: javascript error: comment is not defined (Session info:…
1
vote
1 answer

How to pick available device on the run from perfecto

During execution I want to get the list of available devices from perfecto cloud and execute my test cases on any available devices from the pool. How can I achieve this with QAF - Perfecto framework ?
1
vote
1 answer

Use a variable value in element description

Can i use variable value in the element description? For Example , I have a variable "UserId" and I want its value to be included in the element description which gives a detailed view in the QAF report. Is this possible in QAF , any help is much…
1
vote
1 answer

How to configure one test in TestNG XML file to start two driver, like Chrome Driver and Android Driver when using QAF

Case Step: Open an web browser to do some step Open Android device with Appium to do some step. Note: Those two steps should be run in one test of TestNG XML.
Moon
  • 137
  • 1
  • 7
1
vote
1 answer

Using But keyword in BDD throws Step not implemented exception while running scenario in Quantum framework

I am trying to run a BDD scenario in Quantum framework. While execution, the step with But keyword fails with error "Step not yet implemented". Auto-generated code snippet by QMetry Automation Framework. TODO: remove NotYetImplementedException and…
1
vote
1 answer

How to manage cookies with multiple requests with qaf web services request call?

I am using bdd implementation provided by qaf for test automation and using qaf-support-ws for web services testing. I found it very easy to use with all kind of features required for web services test automation with power of TestNG. It helps in…
user11353541
  • 125
  • 10