One output file for one set of data driven test

I have requirement to build a test case in UiPath studio using test data queue as the data driven data.

However i wanted to create one output file for all the test cases run as part of data driven?

Is there anyway to do this?

Hi @varunt1411

Set up your test cases: Design your test cases in UiPath Studio. Make sure to parameterize the parts that will be driven by data from the Queue.

  • Set up a Queue in UiPath Orchestrator
  • within a loop to process each item in the Queue Use the ‘Get Transaction Item’ activity to retrieve data from the Queue.
  • Perform your test case steps: Inside the loop, perform your test case steps using the data retrieved from the Queue.
  • use activities like ‘Write Text File’ to write the output text file.
  • Loop through all Queue items: Continue looping through all items in the Queue until it’s empty.

This is an option that we are aware of, However this is not a data driven approach

issues with this approach:

  1. single TC is perform a run for all the data so it is not scalable and run will occur in single machine.
  2. one single assertion report is created for all the data.
  3. If there is failure for one single data all the data will fail.