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

QAF weird behavior for parallel testing

for example: testing.xml ... case #1: when I run the following feature file with @smoke tag per say, it will execute parallel testing…
0
votes
1 answer

Qmetry - How to save soap api response to xml file

In Qmetry, I am calling below soap api request. user requests 'post.sample.call' Want to save the response in a xml file (sample.xml). Save response to "sample.xml" Is there a step in qmetry to achieve this?
sanjay pujari
  • 459
  • 2
  • 7
  • 23
0
votes
1 answer

Qmetry - How to save return value in to variable & pass it to next step

Trying to achieve the below scenario in Qmetry. call a function (using step) save the return value into a variable. pass saved value to next function or step. For instance, I am trying like this Scenario steps: 1.generate_token // this will call…
sanjay pujari
  • 459
  • 2
  • 7
  • 23
0
votes
1 answer

I am new to QAF. I m using common steps to assert/verify text

Error-expected " 2,438.16" to match glob " 2,438.16" (had transformed the glob into regexp " 2,438.16" assertText("//*[@id='tv_balance']"," 2,438.16"); verifyText("//*[@id='tv_balance']"," 2,438.16"); I tried both method assertText and verifyText…
sam singh
  • 21
  • 1
0
votes
1 answer

Getting error on executing POST request in Qmetry

With Qmetry framework, Trying to execute the below POST request (with xml content in body). Due to client confidentiality, I have not mentioned exact URLs in the below code. POST REQUEST: post.sample.call={'headers':{'SoapAction':'
sanjay pujari
  • 459
  • 2
  • 7
  • 23
0
votes
1 answer

QAF Framework-Error: Could not find or load main class org.testng.remote.RemoteTestNG

Env: QAF , Java , TestNG , Appium , IVY Am using QAF along with BDDTestFactory. I upgraded Eclipse from Java Developers IDE to Neon. Then after doing all the set-up including downloading dependencies, I am seeing this error.
Vishwathma
  • 91
  • 1
  • 10
0
votes
1 answer

[qaf]how to integrate with spring when I use testng xml to run cucumber test case

I use qaf with testng to run cucumber test case. Now I want use spring to autowired UserRepository in test step.
Moon
  • 137
  • 1
  • 7
0
votes
1 answer

Can we integrate Extent reports with Qmetry Automation Framework(QAF)?

Can we integrate Extent reports(specifically using Adapters, TestNG or Cucumber)with Qmetry Automation Framework(QAF)? If Yes, please provide the steps. From my end, I tried what is mentioned here:…
Vishwathma
  • 91
  • 1
  • 10
0
votes
1 answer

Is there a way to run QAF BDD test on AWS device farm?

I'm trying to execute QAF BDD test using AWS device farm (Appium test using TestNG) but unfortunately it wont trigger the execution on testcase even there is no error. The same working fine while execute it locally. The testng.xml…
NarendraR
  • 7,577
  • 10
  • 44
  • 82
0
votes
1 answer

How to use qaf on Android chrome

I use below xml to run the test case, it always get exception on this step: DeviceUtils.getQAFDriver().get("https://www.google.com"); Exception:: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the…
Moon
  • 137
  • 1
  • 7
0
votes
0 answers

Getting NullPointerException when launching TestNG in Eclipse that uses Maven and QAF

There's an existing automation scripts and framework in my team right now. They used TestNG and Maven. I am Getting this error --> "An internal error occurred during: "Launching .xml". java.lang.NullPointerException" when launching TestNG in Eclipse…
0
votes
1 answer

QAF-Cucumber with TestNG is throwing class not found exception

I am getting java.lang.NoClassDefFoundError exception while running qaf-cucumber with Testng. Tried run as both with Maven and TestNG with same error. Not sure what i am doing wrong here. Here is my source and folder structure TestNG XML:
Reehan
  • 11
  • 4
0
votes
1 answer

QAF Perfecto - Not able to consume test data from XML

When trying to consume data from XML in the project in Quantum Perfecto, I am getting Lexing error. I have attached the scenario with this and the error. Evern the same error is seen in quantum starter kit project too. @GettingToKnowYou Feature:…
0
votes
1 answer

QAF-Cucumber with Junit : Maven Install throwing error at ConfigurationManager

we are using QAF-Cucumber and Junit, have added the dependency for the same in our POM.xml com.qmetry qaf-cucumber 2.1.15 test and…
Sssssss
  • 31
  • 4
0
votes
2 answers

QAF-Cucumber with Junit : no scenario picked up for execution on Maven Install

have created a project using QAF-Cucumber and using Junit. below if the dependency which has been added in my POM.xml ''' com.qmetry qaf-cucumber
Sssssss
  • 31
  • 4