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 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 value is : id = "txtpassword1" [ which is a wrong…
user1231
  • 1
  • 1
0
votes
1 answer

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 of Airport WebElements and Click on the Airport…
0
votes
1 answer

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/jsonformfiller.feature#5 TestStep implementation not found. Please provide implementation or…
0
votes
1 answer

QAF | How to fail a custom step?

I have created a custom step in which I'm doing some calculations. I need to pass or fail the step according to the outcome of the calculations. Presently step always shows pass in the report even when the calculation fails. Also, I would like to…
Renish
  • 165
  • 6
0
votes
1 answer

QAF: '401 Unauthorized: Access is denied' when running script with NTLM request

I already implemented the NTLMAuthClient class rest.client.impl=com.qmetry.qaf.automation.ws.client.NTLMAuthClient into the project properties but still getting the aforementioned error. Here is the JSON request template I am using and I am not…
xReidx
  • 1
  • 1
0
votes
2 answers

QAF | Getting scenario tags in TestNg listener

I would like to get the Scenario tag details in TestNg listener to help in writing custom reports using TestcaseId & IntId for each scenario. @priority:1 @TestcaseId:VFF-265 @IntId:615d440932e941018806cfc5 @sit-1 Scenario : Testing login is…
Renish
  • 165
  • 6
0
votes
2 answers

How to quit driver in qaf bdd2

I am usung qaf bdd2 framework for test automation. I have a requirement where I need to run the test cases in specific port so I have implemented below as qaf listeners options.setExperimentalOption("debuggerAddress", "127.0.0.1:9222"); Now the…
Satish A
  • 83
  • 6
0
votes
1 answer

QAF | Configure multiple Remote.server for the single multi driver run Mobile to Web and back

I have to switch drivers between the run to 2 different service providers in the same testcase/scenario. Presently I'm using "env.resources" to set multiple Env details in different files, but "remote.server" in the 2nd env file always takes…
Renish
  • 165
  • 6
0
votes
1 answer

QAF | How to reset retry.count for executing testcase

application properties: retry.count = 5 One of the element locators is getting visible only during the 3rd or 4th retry, but if another element is also having the same issue within the given testcase, it never goes for 5 retries. Testcase fails…
Renish
  • 165
  • 6
0
votes
1 answer

QAF 3.0.1b | Issue in registering QAFExtendedWebElement listener

The listener not registering during run. Getting below error [QAFExtendedWebElement] - Unable to register listener class com.proj.listener.proj_qaf_listener java.lang.ClassNotFoundException: com.proj.listener.proj_qaf_listener at…
Renish
  • 165
  • 6
0
votes
0 answers

Qmetry: Order of test cases execution not happening as per the given order in testNG file

In Qmetry - Order of test cases execution not happening as per the given order in testNG file. Order of test cases in testng xml file (with preserve-order="true"):
sanjay pujari
  • 459
  • 2
  • 7
  • 23
0
votes
1 answer

Switch back and forth between drivers (across different environment) in qmetry

Switch back and forth between drivers (across different environments) in qmetry. I have a requirement where I want to switch between multiple drivers to execute tests across multiple execution environment. For e.g. Launch android devices in Pcloudy…
ajhu
  • 21
  • 1
0
votes
1 answer

service virtualization/mocking using QAF

Does QAF support mocking/virtualization of service endpoint and request/response ? Using QAF WSstep class we can invoke live url or we can register local endpoint ?
0
votes
1 answer

Not able to implement DataTable cucumber feature in QAF

I am trying to get the vales as DataTable in cucumber. How can this be done in QAF ? @test Scenario: DataTable Examples Given I am on github login page And I enter usernames and passwords "${args[0]}" | testuser_1…
0
votes
1 answer

Not able to read json test data file into my stepDef

Not able to read json test data file into my stepDef. When I try to execute this in maven I am getting below error message. My Scenario Scenario Outline: JSON Keyword Example Given I am on github login page #And I enter "" and "" And I enter…