I use groovy for testing.

The task is this: there is a test case in it test step with a variable in which there is data.

It is necessary that the data from the variable is recorded in properties that are in a different test case .

How to do it?

    1 answer 1

    You do not prepare the tests correctly! Tests must be independent of each other! There are two situations when there is something in common between them like this:

    1. The initial state, then it is written in setUp () - like methods
    2. Cleanup actions, then this is written in tearDown () - like methods.