I have a scenario where I need to log the CPU usage and memory details for every completion of test case. For this flow, no framework or data sheets are used.
Scenario:
I have created workflow called “checkup” to record the usage(memory&CPU) and add it to a collection as CPU_values and Memory_values collection variables
I have 10 different test cases as 10 different work flows. i need to invoke the “checkup” workflow in each test case. after completion of each test case, the values count in the collection(CPU_values and Memory_values) should be incremented by 1.
End of all the test cases, I will print both the collection values into excel sheet.
I can comment on this, to hopefully simplify your thoughts toward arguments.
—Use IN if the value comes from another workflow and will not need to be returned back
—Use OUT if the value originates in the workflow and to return it back
—Use IN/OUT if the value comes from another workflow and will also need to be returned back, usually used to continually update the value throughout the process
EDIT: Also, the Invoke arguments should match the direction that it is in the workflow otherwise you will get failures potentially.