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

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 @FindBy annotations, like this: @FindAll({ …
0
votes
0 answers

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 tests in a different browser. The actual capability…
0
votes
1 answer

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 chrome option arguments. Can some one suggest how to resolve this issue…
Nantha
  • 31
  • 1
  • 4
0
votes
1 answer

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%"]}} In similar way, I want to add the capabilities for edge WebDriver Also, how can I bypass…
0
votes
1 answer

How to get data from different steps

feature file: StepDefinitionClass: result: How can I get the expected value(url)?
yan
  • 11
  • 3
0
votes
1 answer

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

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 qmetry. standalone…
0
votes
1 answer

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.cucumber', name: 'cucumber-junit', version:…
monty
  • 108
  • 1
  • 2
  • 7
0
votes
1 answer

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

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, Could please help in providing solution
0
votes
1 answer

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") I am verifying this for a Get request but this step…
0
votes
1 answer

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 error: Couldn't load plugin class:…
0
votes
1 answer

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 RestTestBase().getResponse().getStatus().name()); …
Rafeek
  • 61
  • 6
0
votes
1 answer

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

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: End up with error after added…
Rafeek
  • 61
  • 6