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
2 answers

Do we have any annotation in cucumber where it will run before any of the tests in the feature file?

@Before method will run before every scenario. Do we have an annotation where it run before any of the scenarion and an annotation after all the scenarios have been executed ?
Nabeel A.Rahman
  • 181
  • 3
  • 14
1
vote
1 answer

How to skip teststep in QAF using TestStepListener?

I am using QAF as my Test Automation Framework. I want to skip specific teststep in the production environment. How can I skip execution of BDD teststep using TestStepListener? Here is an example use case: For shopping cart application I have…
Amit Bhoraniya
  • 621
  • 3
  • 14
1
vote
1 answer

How to run only failed test cases in QAF?

We have close to 100 test scenarios based on QAF in feature files. I have a testng file which I invoke from command prompt through "mvn test" command. Some tests fail occasionally, but when I run them again they pass. Is there some way where I can…
Sudharsan Prabu
  • 105
  • 1
  • 11
1
vote
1 answer

How to instantiate IOSDriver to access its methods in the current session

I am currently using the command in Qmetry Automation Framework QAFExtendedWebdriver mydriver = getQAFDriver(); It will stores current driver in ´mydriver´ object so I can access its available methods. Now I need to create a new driver object in…
Prabu K
  • 11
  • 1
1
vote
1 answer

How to migrate from cucumber-jvm to QAF using testNG?

This post is in addition query to Is it possible to migrate from cucumber-jvm to QAF? Could you please help me know the approach to execute as testNG? For now I've configured the example from below…
1
vote
0 answers

NotYetImplementedException() while executing QAF feature file having all steps implemented

The below is the feature file: Scenario Outline: Verify logging in navigates user to Home page Given I navigate to "" in chrome browser And switch control to Login iframe When valid "" and "" are entered And…
Sudharsan Prabu
  • 105
  • 1
  • 11
1
vote
0 answers

How is AbstractTestCase linked to UiTestBase in QAF 2.18 version?

I am new to QAF 2.18 & trying to understand how an AbstractTestCase is able to accept a type parameter using Generic's in below case. public abstract class AbstractTestCase> The WebDriverTestCase extends…
nandesh kalyankar
  • 302
  • 1
  • 5
  • 23
1
vote
2 answers

Multiple OS, browsers for parallel execution using Saucelabs and QAF framework

I'm using QAF Automation framework with Selenium Web Driver, Java, TestNG and been successful in executing one test at a time, remotely on Sauce labs. But my test executes for Windows OS, when I want it to execute on Mac OS. Not sure why windows is…
1
vote
1 answer

ClassCastException on Updating to Selenium 3.4

We are using QAF for functional test automation. We recently upgraded selenium version from 3.3.1 to 3.4.0 and it started giving following error at some places. Caused by: java.lang.ClassCastException: org.openqa.selenium.remote.RemoteWebElement…
iscj
  • 132
  • 7
1
vote
1 answer

How can we integrate saucelabs with using QAF automation framework?

I am using QAF automation framework for my automation project. I want to execute my test cases on saucelabs. can anyone help me out here? Thanks, Albert
0
votes
1 answer

QAF | Desired capabilities not working with QAF 4.0.0RC1 & Selenium 4

Desired capabilities are not working after upgrade to QAF 4.0.0RC1 with Selenium 4. I have tried below…
0
votes
0 answers

QAF Allure Report not generating

Allure Report not generating in QAF framework (testng). I have configured the below config in pom.xml io.qameta.allure allure-cucumber5-jvm
0
votes
1 answer

QAF | Selenium 4 is not working with QAF version 3.2.0

I'm not able to use Selenium 4 with the QAF version 3.2.0. Url is not opening after browser open (Blank page). Test is working fine if I downgrade the selenium version to 3.141.59. Note: OS: Mac OSX Java Version: 17 I have tried Selenium version…
0
votes
0 answers

QAF Flutter driver is trying to click on element that is not present and get's stuck there

This is how element is defined @FindBy(locator = "flutter-valuekey=xxx") public FlutterElement btnPost; And then I'm just doing btnPost.click(); Following is the log from appium. I can see that there is an expeception. Below is the console…
Piyush Sharma
  • 71
  • 1
  • 8
0
votes
1 answer

Firefox browser is not launching, even when we are using the latest version of Selenium WebDriver and browser

The Firefox browser is not launching in the QMetry framework with Selenium version 3.141.59. The browser version is 114.0.1 (64-bit) and the Selenium WebDriver version is geckodriver-v0.33.0-win32 and geckodriver-v0.33.0-win-aarch64. The QAF version…