QMetry Automation Framework reportportal.io integration

Functional test automation framework for web, mobile-web, mobile native and web-service

License

License

GroupId

GroupId

com.qmetry
ArtifactId

ArtifactId

qaf-reportportal-integration
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

QMetry Automation Framework reportportal.io integration
Functional test automation framework for web, mobile-web, mobile native and web-service
Project URL

Project URL

https://github.com/qmetry/qaf-reportportal-integration
Project Organization

Project Organization

QMetry
Source Code Management

Source Code Management

https://github.com/qmetry/qaf-reportportal-integration

Download qaf-reportportal-integration

How to add to project

<!-- https://jarcasting.com/artifacts/com.qmetry/qaf-reportportal-integration/ -->
<dependency>
    <groupId>com.qmetry</groupId>
    <artifactId>qaf-reportportal-integration</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.qmetry/qaf-reportportal-integration/
implementation 'com.qmetry:qaf-reportportal-integration:0.0.1'
// https://jarcasting.com/artifacts/com.qmetry/qaf-reportportal-integration/
implementation ("com.qmetry:qaf-reportportal-integration:0.0.1")
'com.qmetry:qaf-reportportal-integration:jar:0.0.1'
<dependency org="com.qmetry" name="qaf-reportportal-integration" rev="0.0.1">
  <artifact name="qaf-reportportal-integration" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.qmetry', module='qaf-reportportal-integration', version='0.0.1')
)
libraryDependencies += "com.qmetry" % "qaf-reportportal-integration" % "0.0.1"
[com.qmetry/qaf-reportportal-integration "0.0.1"]

Dependencies

compile (2)

Group / Artifact Type Version
com.epam.reportportal : agent-java-testng jar 4.2.1
log4j : log4j jar 1.2.17

provided (1)

Group / Artifact Type Version
com.qmetry : qaf jar 2.1.14

Project Modules

There are no modules declared in this project.

qaf-reportportal-integration

QMetry Automation Framework reportportal.io integration

This project provide implementation for integration of qaf test results with reportportal.io. Refer reportportal documentation for installation-steps. Once you have report portal up and running you can start sending results by using ReportPortalQAFListener listener.

Features

  • Each step as log (pass - Info, Fail - Error, Warn - Warn)
  • Web driver and element command log (DEBUG level)
  • Screen shot attachement
  • If loging enabled, logs will attached as attachment.

Dependencies

Add to POM.xml

dependency

<dependency>
  <groupId>com.qmetry</groupId>
  <artifactId>qaf-reportportal-integration</artifactId>
  <version>0.0.1</version>
</dependency>

Listener parameters

Description of listeners input parameters and how to configure it see “Parameters” in Configuration section. Which are common for all JVM based agents. You can provide it in reportportal.properties available in class path or provide as system property. If you want to provide it through application properties file add system prefix. For example:

application.properties:

system.rp.endpoint = http://localhost:8080
system.rp.uuid = <UUID of user>
system.rp.launch = default_TEST_EXAMPLE
system.rp.project = default_project

Additional properties: rp.step.astest : boolean to specify create a node for step under test or not. If rp.step.astest is set to true you will see test node for each step under actual test case. Well suited for BDD implementation.

Log4J configuration Add following properties in log4j.properties file:

log4j.rootCategory=DEBUG, CONSOLE, LOGFILE,reportportal


log4j.appender.reportportal=com.qmetry.qaf.reportportal.QAFLogAppender
log4j.appender.reportportal.layout=org.apache.log4j.PatternLayout
log4j.appender.reportportal.layout.ConversionPattern=[%d{HH:mm:ss}] %-5p (%F:%L) - %m%n

Listener class:

com.qmetry.qaf.reportportal.ReportPortalQAFListener

There are several ways how to install listener:

Please note, that listener must be configured in a single place only. Configuring multiple listeners will lead to incorrect application behavior.

com.qmetry

QMetry

Open Source Projects by QMetry

Versions

Version
0.0.1