I was just learning UiPath (the UiDemo practice example) and was playing with the nice test framework they created in the REF. One of the workflows (Process) I wanted to test required a TransactionItem(QueueItem) as an “in argument”. I didn’t want to have to use an Orchestrator queue just for this in my test harness workflow. I really only needed to start my app up, log into the app, and pass in a transaction before I called “Process”. I also wanted to create tests with different TransactionItem SpecificContent. I noticed there were some questions from other users about being able to create TransactionItems somewhat like this so I thought I would just post. UiPath pros can correct this as necessary.
In any case I did the following in my “Process” related test workflows:
-
Created a empty queue item
-
Invoked some code to add the SpecificContent dictionary and associated values. My values were being fed from variables I could change.
That was all I needed for my transaction and test workflow…