Skip to content

Releases: qaf-tm/qaf

QAF Release 3.0.0-beta-1

21 Jan 18:54
Compare
Choose a tag to compare
Pre-release
fix to Exclude phantomjsdriver in generated POM

QAF Release 2.1.15

21 Nov 07:24
Compare
Choose a tag to compare

Closed 2.1.15 milestone

#287 Updated license to MIT
Deprecated RestWSTestCase use WSTestCase instead

New Features

  • Support to add third party step finder service
  • #276 Support to locate element using extJs
    Provided additional locator strategies
  • #301 Format meta-data with link
  • #302 Enforce meta-data rules in dryrun

Enhancements

  • Ensuring clear step mapping when populating steps mapping
  • decreased report file name prefix max length from 50 to 45 char
  • Moved meta data related method to MetaDataScanner
  • Code improvement to process outline for data driven scenario without
  • support to trigger element listener on find element command
  • #23 Support JSON report for multiple XML suite in single run
  • #123 Added comment for CDN.
  • #275 - support of JQuery locator strategy to find child element
  • #277 Support to have custom step provider class object factory

Bug fixes

  • #241 Capabilities with driverName prefix should take effect with custom driver
  • #242 cacheble set through default element data doesn't take effect
  • #243 Issue with Time Duration at Test Level
  • #249 ResultUpdator not awaiting for completion When groups include/exclude used in xml configuration file
  • #250 null pointer exception when test method from class in default package
  • #256 Exception when feature file is empty or all statement commented
  • #257 Scenario not parsed by Gherkin and BDD2 Factory when additional details provided after Feature Keyword
  • #269 BDD2 - Examples - Blank/Empty data is not being executed
  • #278 Runtime exception when test method has @Parameters annotation
  • #300 Scenario outline in bdd2 should work without Examples keyword

QAF Release 2.1.15-beta-3

22 Sep 00:16
a107c17
Compare
Choose a tag to compare
Pre-release

#287 License switch from GPL to MIT

QAF Release 2.1.15-beta-2

03 Jun 05:28
Compare
Choose a tag to compare
Pre-release
2.1.15.beta.2

Closed #277 Support to have custom step provider class object factory

QAF Release 2.1.15-beta-1

28 May 03:41
Compare
Choose a tag to compare
Pre-release
updated pom template.

QAF Release 2.1.14

02 Jan 03:52
Compare
Choose a tag to compare
releasing #2.1.14

Closed milestone https://github.com/qmetry/qaf/milestone/6

QAF Release 2.1.14-RC3

17 Dec 05:57
Compare
Choose a tag to compare
Pre-release
  • Updated JSON library version to latest

Bug Fixes

  • #203 sendkeys command uses encrypted password instead of decrypted
    version
  • Fixed issue with findElement and findElements with type argument methods
    in component, moved it form QAFWebCompont to QAFExtendedWebElement

Enhancements

  • #231 When https.accept.all.cert property set to false, then QAF
  • #212 meta-data with parameters should get reflected with value in qaf report
  • #38

New Features:

#185 support to provider xml file for xml data provider
#180 added intercepter support

  • While generating Map data from different data provider considering blank values to null.
  • Taking control over data-providers even if it is custom data-provider
  • Data provider implementation enhancements
  • For data driven test accepting method argument of type Map<String, Object>
  • For data driven test in java, You can have one or more data bean or complex class object in method argument, QAF will convert data to required type. Few examples:

@QAFDataProvider(dataFile="resources/testdata.txt")
@Test
public void myDataDrivenTest(Map<String, Object> data){

}
@QAFDataProvider(dataFile="resources/testdata.txt", filter="testCaseId.equalsIgnoreCase('${method}'")
@Test
public void TC_12345(Map<String, Object> data){

}

@MetaData("{'testCaseId ':12345}")
@QAFDataProvider(dataFile="resources/testdata.txt", filter="testCaseId.==${testCaseId}")
@Test
public void myDataDrivenTest(Map<String, Object> data){

}

@QAFDataProvider(dataFile="resources/testdata.txt")
@Test
public void myDataDrivenTest(LoginBean user, Item item){

}

@MetaData("{'from':2, 'to':5}")
@QAFDataProvider(dataFile="resources/testdata.txt")
@Test
public void myDataDrivenTest(Integer a, Boolean b, String s){

}

@MetaData("{'from':2, 'to':5}")
@Test(dataProvider="my-custom-dp")
public void myDataDrivenTest(Integer a, Boolean b, String s){

}

//assuming my-custom-dp returns Iterator<Map<String,Object>> having "age"
@QAFDataProvider(filter="age>18")
@Test(dataProvider="my-custom-dp")
public void myDataDrivenTest(Integer a, String s, Boolean b){

}
  • Added filter support
  • Added unit test cases
  • Updated StringUtils.parseCSV(String, char[]) to return array of objects

Filter support:

  • Can filter records returned by data provider with logical expression. To support filter with custom data-provider, data-provider must return List of Map.
  • indices support
  • start and end index support by providing to and from as meta-data

With any data provider that returns List of Maps, you can have meta-data with meta-data-key "filter" to apply filter on data set returned by the data-provider.
Filter must represent logical expression that returns true or false. You can use map key as context variable and test meta-data as parameter. For example you test data has "first-name", "last-name", "age" and "country", you can have expression that filters records for age above 18 as below:

filter="age>18"
filter="country.equalsIgnoreCase('India') && age>18"

You can use test case meta-data, method name as "method" and class name as "class" as parameters, Another example of using test case meta-data in filter assuming test case meta-data has meta-data "testCaseID" and test data has "ID".

filter="ID=='${testCaseID}'"
filter="ID.equalsIgnoreCase(\"${method}\")"

Updated CSV, XML and Excel data provider to return objects instead of Strings

CSV (character separated values):

  • returns array of Objects instead of array of Strings.
  • support of quoted string values: both abc and "abc" are supported
    to represent string abc. Quoted string will eliminate use of escape
    char for separator char, for example with , as separator char: instead
    of abc\, def you can provide (and preferred) as "abc, def"
  • support industry standard comma separated values with quoted string.
    As per RFC 4180 CSV implementation leading or trailing spaces are
    trimmed (ignored), fields with such spaces as meaningful data must be
    quoted. Double quotes are not allowed in unquoted fields according to
    RFC 4180.
  • Cleaned up old data-providers

QAF Release 2.1.14-RC2

30 Nov 17:43
Compare
Choose a tag to compare
Pre-release

Bug Fixes
#181 Fixed Step call in Gherkin data-table with single entry
#131 Ability to teardown driver by name
#229 Database data provider not working if query contains "="

Enhancements
#182 enhanced utility methods to get parameters from TestNG context
#184 Support to format step arguments

QAF Release 2.1.14-RC1

04 Apr 03:20
Compare
Choose a tag to compare
Pre-release

New Features
#177 Set proxy for specific URL(s) configuration

**Enhancements **
#175 Support for selenium-support library 3+
#176 New annotation @PageIdentifier test-page

QAF Release 2.1.13

20 Feb 08:14
Compare
Choose a tag to compare

New Features

  • #171 Support to have encripted password
  • #168 Support to specify default webelement implementation
  • #160 Timeout support in BDD Scenario
  • Default element listener for password field and element scroll behavior
  • Support of @Inject annotation in step library class
  • Added support for custom by

Enahancements

  • Page identifier support in Test page
  • #131 Ability to teardown driver by name
  • Support to provide default element meta-data using property element.default.metadata
  • Support to allow all certificates and ignore host name verification for web-services using property https.accept.all.cert
  • Disabled Delimiter Parsing for xml configuration
  • Web service request entity logging
  • Added methods in DatabaseUtils to support multiple database

Bug Fixes

  • #173 Gherkin data-driven with Examples
  • #169 With long bdd scenario name, not able to open captured images on windows
  • #159 Checkpoints and command log not available in report for test case with timeout
  • #158
  • #154 Not able to override step.provider.pkg property for data driven scenario
  • #153 result file generation for scenario name with some special characters is not working
  • #139 Optional parameter in step
  • #108 exclude capture screen shot for web-service failure
  • Fixed element not found exception from isPresent called by element from component