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

Qmetry- How to store and access Array of array list of strings

In Qmetry,Trying to save array of arraylist string and access same in another test case. Array of array list : ArrayList> my_list store(my_list, "array_list_1"); //Accessing saved list Object list_details =…
sanjay pujari
  • 459
  • 2
  • 7
  • 23
1
vote
1 answer

Logs are not getting generated after adding APPIUM dependency

I am trying to setup the QAF. Earlier when I set up the framework, I could see driver logs in console and output log file. But now I'm not seeing them. I did not make any change in log file configuration or it's directory. Can anyone give me some…
Piyush Sharma
  • 71
  • 1
  • 8
1
vote
1 answer

Qmetry- How to use appium driver

In QMetry, I am trying to switch from appiumDriver to androidDriver in one of test case. This need arised due to one of the function driver.isKeyboardShown() is showing as undefined for the appium. So need to change it to androidDriver and use this…
sanjay pujari
  • 459
  • 2
  • 7
  • 23
1
vote
1 answer

Unable to create driver instance for Edge driver

Code is working fine for chrome but for Edge I'm facing issue I have set below properties in application.properties file driver.name=edgeDriver webdriver.edge.driver = drivers/msedgedriver.exe I have also downloaded edgedriver.exe as per current…
Piyush Sharma
  • 71
  • 1
  • 8
1
vote
1 answer

How to use QAF Page Objects with QAF BDD2

For ex : I have created a test Page public class HomePage extends WebDriverBaseTestPage{ @FindBy(locator = SLIDER_LOC) public QAFWebElement slider; @FindBy(locator = SEARCH_TEXTBOX_LOC) public QAFWebElement…
Piyush Sharma
  • 71
  • 1
  • 8
1
vote
1 answer

Qmetry - How to update value of a key of api request in .wsc file

In Qmetry, I have placed api request data in requests.wsc file. For example in the below api request- want to update 'baseUrl' key value from 'https://google.com' to 'https://stackoverflow.com' through qmetry method/ or programmatically. api request…
sanjay pujari
  • 459
  • 2
  • 7
  • 23
1
vote
1 answer

QAF: Implementation of Self healing(Healenium) in QAF

Am new to QAF and I need to implement self-healing in our test method using healenium. I have implemented it without QAF it's working fine. Please refer to the below code. import com.epam.healenium.SelfHealingDriver; import…
Ramesh
  • 11
  • 2
1
vote
1 answer

How to setup proxy in QAF

I need to setup proxy in my QAF test method. Below code is working fine without QAF. How to setup the same with QAF implementation? // @Test public void sampleTest() { Proxy proxy = new Proxy(); …
Rafeek
  • 61
  • 6
1
vote
1 answer

QAF -how to print /access common step Store () value into variable

I am new to QAF. I m using common steps to store value into one variable and need to assert one locator has that value. store(Object val, String var); store(2000, “currnetBalance”); I need to do below activity. System.out.println(${varname}) How…
sam singh
  • 21
  • 1
1
vote
1 answer

Is there any option to handle certificate errors for chrome browser?

I am developing my new Automation project, is any any option to handle certificate errors for chrome browser? like we have for selenium - ChromeOptions opt= new ChromeOptions(); opt.addArguments("ignore-certificate-errors");
1
vote
1 answer

QAF - How to automate both WEB and MOBILE app using QAF

I am new to QAF. I need to automate both web and mobile app together. Let say, I have to do fund transfer using mobile native app and logout then immediately open desktop browser(Not Mobile browser) and open web application to verify the same…
Rafeek
  • 61
  • 6
1
vote
1 answer

Not able to validate xpath from soap api response

In Qmetry, trying to validate xpath from the soap api response. But it returns false. API response has root is
sanjay pujari
  • 459
  • 2
  • 7
  • 23
1
vote
1 answer

QAF - Webservices testing not fetching Xpath value from XML

I'm trying to do Webservices Testing using QAF 3.0 Below is my BDD for the Test. Scenario: [WS-2]_[222-xml]_Sample XML Webservices When I request api "get.mock.xml.menu" Then I check api response status code is "200" And I check api…
Renish
  • 165
  • 6
1
vote
1 answer

Qmetry Error: Underlying driver is an QAFExtendedWebDriver. This step requires an AndroidDriver

Using Qmetry framework to execute touch actions on android mobile using appium . Facing issue with incorrect driver initialization. Issue I am trying to set android driver as driver to perform touch actions. But during execution Qmetry initializing…
sanjay pujari
  • 459
  • 2
  • 7
  • 23
1
vote
1 answer

Cucumber tags as TestNG group in QAF and Spring boot environment

I have 4 tests in a feature file with 2 different tags @first and @then. I would like @first tests to run first with parallelism and @then tests to run after all @first tests finished, with parallelism too. The project is here…
marie
  • 457
  • 8
  • 27