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

How to run single scenario in eclipse with qaf bdd editor?

I am using bdd implementation provided by qaf for test automation and using qaf-bdd-editors eclipse plugin for development. I am able to run my scenarios using xml configuration file but to run specific single scenario need to modify confirmation…
user11353541
  • 125
  • 10
1
vote
1 answer

How can I update Rally test cases automatically using Cucumber and Rally integration?

I'm trying to figure out how I can automatically update test case results for test cases in Rally through Cucumber automation scripts. I want to be able to run my test scripts, which will then update the test case results in Rally automatically to…
faisalr89
  • 23
  • 3
1
vote
1 answer

Can't add QAF BDD Editor in Eclipse

Can someone please help on how I can add QAF BDD editor plugin in eclipse? The steps in this page https://developers.perfectomobile.com/display/TT/Installing+QAF+editor+plugins+in+eclipse doesn't work anymore.
Shasha
  • 11
  • 3
1
vote
1 answer

Stopping the execution if first scenario fails in QAF - Cucumber

Currently we are triggering our smoke test from testng.xml where we have two different sceanrios to be validated. Our requirement is that if one scenario fails(@Test1), other should not execute(@Test2). How can I achieve this in QAF, Testng -…
1
vote
1 answer

testng / Jenkins - include name, parameterized

I'm new in programming. I have a question about testng.xml and Jenkins. I run a parameterized build in Jenkins with the following…
1
vote
1 answer

QAF Dashboard.html is empty

I have downloaded the QAF Maven project and imported into Eclipse. I have created BDD test case for one of the RESTFull service and I am able to run it as TestNG Test. I see the result folder created with the date and timestamp created under…
1
vote
1 answer

How to give FirefoxDrive and gecko driver in qaf applicaiton.properties to do execution in firefox

I was trying to execute my QAF framework in my local Firefox( Version 61) and I need to know how to call out firefox browser from QAF application. driver.name=geckodriver webdriver.gecko.driver = C:/DRIVERS/geckodriver.exe Above one did not work.…
1
vote
1 answer

qaf chromedriver path application.properties

I am new to QAF. what is the format to set path in application.properties? Do I need to include double quotes? single slash or double slash? #set 1 to suppress success log, when 0 it will also show verification success…
1
vote
2 answers

Maximize chrome window in QAF

I am using this code, new WebDriverTestBase().getDriver().get("http://www.google.com/"); But this doesn't launch the chrome in full screen. How to maximize the chrome window in QAF?
M M C
  • 23
  • 2
1
vote
1 answer

Get webelement text in QAF

I would like to get the text of a particular webelement in a web page in QAF. With selenium we use element(by.id('id')).getAttribute('value'); How do I write the above code in QAF ?
M M C
  • 23
  • 2
1
vote
2 answers

How to exclude groups based on condition in TestNG?

I have around 10 testcase in Login module. I have to execute the test on Staging and Product environment but on Product environment, need to exclude some specific testcase which require some dummy data to be insert in application. For that i have…
NarendraR
  • 7,577
  • 10
  • 44
  • 82
1
vote
0 answers

Get description of current step getting called from BDD file

I have a BDD file having certain steps, like below: Given user navigates to login page. When user enters username. And user enters password. Then user clicks on login button. The step definition file is something like below: …
1
vote
2 answers

How to use apostrophe in formatted xpath?

I have place the locator in properties file like : header.navigation.product.link = //div[contains(@class,'grid-')]//li/a[contains(.,'%s')] and while I'm using this locator in my code- String headerproductlink =…
NarendraR
  • 7,577
  • 10
  • 44
  • 82
1
vote
1 answer

Unable to fetch value from XML file where values passes as a key

QAF Version 2.1.13 and 2.1.14-RC1 I have below testdata in xml file - Mr Narendra Rajput
NarendraR
  • 7,577
  • 10
  • 44
  • 82
1
vote
1 answer

Cannot get or set value in parameters Map for sendkeys command

[myParam variable structure] I got a Map return from a command, it is a kind of Map.My problem is looks simple, but it have taken me 4 days, I cannot get or set the content of "value" key. Below is my variable that I…
bacngao
  • 13
  • 3