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
2
votes
1 answer

Dynamic Feature File allocation in Cucumber JVM

I'm creating an executable jar file for some of my less tech literate coworkers to run tests without having to use the command line. It's a simple gui where they select the features they want to test and the step library is packaged within. It…
Jrawr
  • 199
  • 2
  • 3
  • 15
1
vote
1 answer

appium 7.4.1 is not supporting for qaf version 3.1.0 and selenium 4.2.2

We are trying to update qaf and selenium and appium from old versions, we tried to change selenium from 3.141.59 to 4.2.2 , and qmetry 3.0.1 to 3.1.0 and appium 7.4.1 is not supporting for this version . With this updated version of qaf and selenium…
ashwini r
  • 21
  • 2
1
vote
1 answer

How to enable /disable the RequestLogger in console?

Want to print API request in log with the help of RequestLogger. We have log4j properties file ,log4j dependency entry is there in pom and also POM is referring the log4j properties file too. We have log4j properties under resources and also added…
ashwini r
  • 21
  • 2
1
vote
1 answer

QAF-Feature file facing issue to access multilingual chars

Problem: I am facing issue in pass multilingual characters to global QAF methods. Steps: And I assert link with text "ਪੰਜਾਬੀ" is present And I assert link with text "தமிழ்" is present @QAFTestStep(description = "I assert link with text {linkText}…
Rafeek
  • 61
  • 6
1
vote
1 answer

How Can I set chrome browser to automatically download a pdf using QAF and WebDriverManager

Using a datasheet, I usually pass a browser name into a class I created to select which browser I want to run my tests from. Recently, I've been working on an app in which I need to download a PDF and then verify its contents. I have everything…
Aztg
  • 33
  • 4
1
vote
1 answer

How to integrate Qmetry and Karate framework

I have UI built on top of Qmetry framework. Just wanted to check if I want to integrate Karate framework. Is it possible to integrate Karate framework with Qmetry framework ?
ajhu
  • 21
  • 1
1
vote
2 answers

Can't start multiple drivers in multiple threads

Steps To Reproduce Login to Baidu Search something Set thread-count = 5 Expected behavior Each thread should initial one driver. For example, i have 3 cases, should start 3 drivers. Actual behavior All the thread use the same one driver (it means…
yan
  • 11
  • 3
1
vote
1 answer

Qaf BDD2 setup() and teardown ()

I am using QAF framework BDD2 for regression automation. I know how to setup setup() and teardown() webdriver in testNG but I am not sure do we have capability to set up the same QAF BDD2 setup() and teardown(). Kindly help with some examples. I…
Satish A
  • 83
  • 6
1
vote
1 answer

java.lang.NoClassDefFoundError: org/testng/IAnnotationTransformer2

I am getting the following error while runing testng config for QAFTestSteps: Error shown [RemoteTestNG] detected TestNG version 7.5.0 log4j:WARN No such property [follow] in org.apache.log4j.FileAppender. java.lang.NoClassDefFoundError:…
1
vote
1 answer

QAF | Not able to connect to ExperiTest or pCloudy with appiumDriver but I can connect only with appiumRemoteDriver

I'm using switchDriver('appiumRemoteDriver') & switchDriver('chromeRemoteDriver') to connect between Web and mobile within the same scenario. I'm not able to use switchDriver("appiumDriver") / switchDriver("iosDriver") /…
Renish
  • 165
  • 6
1
vote
1 answer

QAF | If dependent scenario fails, running scenario should skip

Does QAF support the Dependent Scenario option out of the box? I have read in the below link that dependsOnMethods is not working and not supported. https://github.com/qmetry/qaf/issues/281 If the dependent scenario option is not available in QAF…
Renish
  • 165
  • 6
1
vote
1 answer

Facing issue using QAF common step og click and clear methods

Facing some weird issue when using QAF common steps. We just facing in “I click” and “I clear” methods so far. Step to reproduce: Step: And I click on "LOGIN_btn||rt.loc.e8R5BmyEUI" @QAFTestStep(description = "I click on {0}") public static void…
Rafeek
  • 61
  • 6
1
vote
1 answer

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at path $ in QAF

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at path $ Feature file: In the feature file I am passing one parameter Feature: WebTableScneario Scenario: Demo WebTableScneario Given…
Rajkiran
  • 11
  • 1
1
vote
1 answer

GherkinScenarioFactory not execute any test case

I use cucumber testNG for my project and and already added some configuration based on Configuring BDD for execution and QAF Cucumber but when i run it, GherkinScenarioFactory not run any test. [main] ERROR…
ryu yuuto
  • 11
  • 1
1
vote
1 answer

QAF - How To update junitreports.xml when running BDDStepFactory2

Im currently using QAF at my job and recently setup a few CICD tests using Azure Devops. Azure Devops at the moment is only designed to read to Junit .XML results in their reporting dasbboard. When running a Maven test, TestNG automatically creates…
Aztg
  • 33
  • 4
1 2
3
12 13