Docs

Pushing Data to Report Portal

RobusTest pushes test artefacts to Report Portal at the end of a job run. Each artefact type is configured as a separate Test Data Collection entry in your Run Setting.

Requirements

Create one Test Data Collection entry per artefact type. At least one entry with testDataPoint set to stats is mandatory — without it, no data will be pushed.

Test Data Point Values

Value What is pushed
stats Test case results — pass/fail counts, job start/end times, duration, test case list. Mandatory.
frameworkLog Framework logs from the test runner (Espresso, Appium, XCUITest, etc.)
screenshot Screenshots captured during the job

Conditional Sending

For frameworkLog and screenshot, you can push data conditionally based on test case result attributes.

To set a condition:

  1. In the Invoke Conditions section of a test data collection entry, click the + icon.
  2. A condition entry appears. Expand it and fill in:
    • attributeName — the attribute to evaluate (e.g. status)
    • attributeValue — the value to match (e.g. Fail, Pass)
    • operator — the comparison operator (e.g. =)

You can set multiple conditions per entry. Conditions cannot be applied to stats entries.

Example

Send framework logs only for failed test cases and screenshots only for passed test cases:

Test Data Collection testDataPoint Condition
Entry 1 stats (none — required)
Entry 2 frameworkLog status = Fail
Entry 3 screenshot status = Pass