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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

Does Qmetry version 3.0.1 support http patch request?

We recently added http patch request in our implementation using Qmetry 3.0.1 version. We are getting below error: java.net.ProtocolException: Invalid HTTP method: PATCH
ashwini r's user avatar
0 votes
0 answers
16 views

How to increase QAF logging level

We want to increase the logging level during the development stage, but log4J properties are not accepted in QAF, and the existing longing level is too low to understand the issue.We have tried in qaf ...
Renish K.R's user avatar
0 votes
1 answer
98 views

Unable to lauch browser instance when setting the capabilities for download directory in application.properties file

I'm using application properties file to set the capabilities of the chrome drive. Below is the code for that initially it worked fine but when I added "download.default_directory": "${...
Sri Siva batchu's user avatar
0 votes
1 answer
53 views

Unbale to Interact with elements using QAFWebDriver for Android Mobile Web in Perfecto

Below are the details: Selenium - 4.11.0 Appium Java-Client - 8.5.1 QAF - 4.0.0-RC2 OpenJDK 17 perfecto.properties driver.name=perfectoDriver remote.server=https://.perfectomobile.com/nexperience/...
Raj's user avatar
  • 1
0 votes
1 answer
41 views

Is there any proper documentation with examples available for the QAF?

I want to commend QAF team for developing an excellent framework, especially for its robust reporting features. However, I noticed that there is a lack of documentation and sample projects ...
Sri Siva batchu's user avatar
0 votes
1 answer
70 views

How to access datafile values without specifying in feature file and Step Defs

I using qaf-cucumber library for scenario outlines testdata with external files. Repo: https://github.com/qmetry/qaf-cucumber Branch: cucumber-4 I want to access the TestData file content without ...
Shankar's user avatar
0 votes
0 answers
25 views

StaleElement reference error when we switch to new window in iOS web

When a new window is opened, we can get the title and URL of the window but elements are not interactable and throwing the below error. an unknown server-side error occurred while processing the ...
user3862810's user avatar
1 vote
1 answer
58 views

Unable to instantiate AppiumDriver in perfecto for Mobile Web Browser Testing

We are trying to instantiate Appium driver for Mobile Web Browser Testing for Android and iOS on perfecto. But we are getting "cannot be cast to class" error. Detail is mentioned below: QAF ...
user3862810's user avatar
1 vote
1 answer
25 views

QAF @dependsOnMethods is throwing nested exception error

I get a nested exception error if I use @dependsOnMethods for the below scenarios. These scenarios work perfectly without @dependsOnMethods Note: I have tried both in qaf.version: 3.2.0(Selenium: 3....
Renish K.R's user avatar
0 votes
1 answer
54 views

How to get current BDD step in QAF?

I'm writing a custom report in QAF and I want to pass the current BDD step with parameters into my custom report. I'm looking to implement both inside StepDefinition code and listener. I have tried ...
Renish K.R's user avatar
1 vote
1 answer
33 views

QAF- Code debug is not working in eclipse

I am using https://github.com/qmetry/qaf-blank-project-maven project to run simple login scenario in eclipse. My debug point is not getting triggered when I run my simple scenario. Note: I am not ...
Rafeek's user avatar
  • 73
0 votes
1 answer
69 views

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 properties: chrome.additional.capabilities​​={"chromeOptions":{"args":["-...
Renish K.R's user avatar
0 votes
0 answers
30 views

QAF Allure Report not generating

Allure Report not generating in QAF framework (testng). I have configured the below config in pom.xml <dependency> <groupId>io.qameta.allure</groupId> <artifactId>...
Renish K.R's user avatar
0 votes
1 answer
154 views

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 ...
Renish K.R's user avatar
0 votes
0 answers
82 views

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 ...
Piyush Sharma's user avatar
0 votes
1 answer
85 views

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 ...
ashwini r's user avatar
2 votes
1 answer
117 views

How to define platform-specific page elements for iOS and Android in a single place using QAF?

I'm developing a test case that needs to run on both iOS and Android platforms using QAF (Qmetry Automation Framework). I want to follow a Page Object approach where I can define elements for both ...
Ostan Dsouza's user avatar
0 votes
1 answer
44 views

How to identify multiple WebElements with multiple criteria in QAF?

I'm working on a use case where I need to identify one or more WebElement objects in QAF (Qmetry Automation Framework). In Selenium, I can achieve this by using the @FindAll annotation with multiple @...
Ostan Dsouza's user avatar
0 votes
0 answers
21 views

Execution on Selenium HQ Remote browser redirecting to a different than requested

I'm executing tests in selenium HQ with few capabilities, even though the capabilities are correct few times instead of selecting browser based on the capability's client send it is attempting the ...
Shravan Jessu's user avatar
1 vote
1 answer
96 views

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 ...
ashwini r's user avatar
0 votes
1 answer
102 views

QAF Getting "Invalid Status code=403 text=Forbidden" error on launching the chrome driver after latest chrome upgrade

QAF Getting "Invalid Status code=403 text=Forbidden" error on launching the chrome driver after latest chrome upgrade Lot of them asked to provide "--remote-allow-origins=*" as ...
Nantha's user avatar
  • 31
0 votes
1 answer
340 views

How to set edge capabilities in application.properties file of QMetry framework? - I want to bypass the profile sign-in window for edge browser

We can set chrome capabilities like chrome.additional.capabilities={"chromeOptions":{"args":["--disable-web->security","--user-data-dir=c:/temp/%RANDOM%"]}} ...
Rajat Dandoti's user avatar
0 votes
1 answer
31 views

How to get data from different steps

feature file: StepDefinitionClass: result: How can I get the expected value(url)?
yan's user avatar
  • 21
0 votes
1 answer
112 views

how to use yaml file with qaf as i don't use properties in my project

I am using cucumber-testng framework in my Project. Now i am trying to integrate with QAF to use csv file as a data provider. I don't use properties file instead i use yaml file I want to achieve like ...
user12286377's user avatar
0 votes
1 answer
74 views

Edge IE mode not working as expected in Qmetry

I want to run edge ie mode using qmetry. We are getting wired blank white IE page being opened when we click on login button in our application. Same website works fine when i executed it without ...
ashok varma's user avatar
1 vote
1 answer
73 views

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 ...
ashwini r's user avatar
0 votes
1 answer
29 views

QAF-Cucumber 3.1.0 is not working with Cucumber 6

getting following exception java.lang.NoClassDefFoundError: io/cucumber/core/gherkin/Location implementation group: 'io.cucumber', name: 'cucumber-java', version: '6.11.0' implementation group: 'io....
monty's user avatar
  • 108
0 votes
1 answer
184 views

How to set the driver

I want to set my local driver as the selenium driver. The question is qaf will start a new driver each time. public static QAFExtendedWebDriver driver; public static QAFExtendedWebDriver localDriver()...
yan's user avatar
  • 21
0 votes
1 answer
104 views

Can we change binary path location in QAF framework

I have a requirement to run application in chrome beta version using Qmetry Automation framework. I tried to change binary path using capabilities and other different ways but none of them worked, ...
Srinu Kusumanchi's user avatar
1 vote
1 answer
44 views

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 ...
Rafeek's user avatar
  • 73
2 votes
1 answer
92 views

Can QAF @datafile be parametrized?

Is it possible to parametrize @datafile in QAF BDD2? I have the following line in my cucumber feature file @dataFile:src/test/resources/testdata.xls I'd like to be able to use different test data ...
user19256804's user avatar
0 votes
1 answer
62 views

QAF Swagger integration related query

I am able to integrate swagger yaml file with QAF and able to make changes to xml and get the tests running. But test step @QAFTestStep(description = "validate {requestCall} response with schema&...
Rohini gopal-'s user avatar
0 votes
1 answer
473 views

Couldn't load plugin class: com.qmetry.qaf.automation.cucumber.QAFCucumberPlugin. It does not implement cucumber.api.Plugin

I planning to use qaf-cucumber library for scenario outlines testdata with external files. Repo: https://github.com/qmetry/qaf-cucumber Branch: cucumber-4 When I run my runner class I'm getting below ...
Shankar's user avatar
1 vote
1 answer
549 views

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 ...
Aztg's user avatar
  • 33
0 votes
1 answer
81 views

QAF : RestTestBase().getResponse().getMessageBody() return null in wsstep

I am using QAF api common step and getting null in getMessageBody(). Also printed headers, status etc and its returning proper values. System.out.println("Status is:" + new ...
Rafeek's user avatar
  • 73
1 vote
1 answer
350 views

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's user avatar
  • 21
0 votes
1 answer
104 views

How to upgrade selenium from version 3.14 to 4?

Description: The current version of selenium is 3.14 if I want to upgrade to 4, how can I do that?
yan's user avatar
  • 21
1 vote
2 answers
125 views

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 ...
yan's user avatar
  • 21
0 votes
1 answer
82 views

QAF | Scenario needs to skip if dependent scenario gets fail

Team, Problem statement: Scenario2 should skip if dependent scenario1 gets fail. Need some support to fix this issue. Reference: I took reference from below link Skip Dependent scenario issue Issue: ...
Rafeek's user avatar
  • 73
1 vote
1 answer
172 views

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 ...
Satish A's user avatar
0 votes
1 answer
306 views

QAF Not able to update element onFailure method

Question : Based on : QAF | Passing new locator on failure Trying to update the element onFailure method. Using OrangeHRM site to test and trying to fill the password value. during the test locator ...
user1231's user avatar
0 votes
1 answer
63 views

I am able to click on WebElement from List of QAFWebElements in DEBUG mode but unable to do the same in runtime mode

I am trying to select departure airport from list of airports that are appeared in a search result. Stored all airports from the search results in QAFWebElement List Variable Iterated through the List ...
TechService's user avatar
0 votes
1 answer
240 views

Error Meta-data: {"dataFile":"resources/env1/data.json"}@scenarios/jsonformfiller.feature#5 TestStep implementation not found

Error Meta-data: {"dataFile":"resources/env1/data.json","description":"Data driven test that uses enter code herejson file to provide data"}@scenarios/...
TechService's user avatar
1 vote
1 answer
399 views

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....
TechService's user avatar
1 vote
1 answer
196 views

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&...
Renish's user avatar
  • 165
1 vote
1 answer
215 views

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 ...
Renish's user avatar
  • 165
1 vote
1 answer
74 views

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" @...
Rafeek's user avatar
  • 73
1 vote
1 answer
481 views

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: ...
Rajkiran's user avatar
1 vote
1 answer
429 views

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] ...
ryu yuuto's user avatar
1 vote
1 answer
187 views

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 ...
Aztg's user avatar
  • 33