Use result count for attachments
You can use result count to verify how many attachments a message contains.
To do so, follow the steps below:
-
Go to your XTestStep and select the XTestStepValue Attachments.
-
In the Value drop-down menu, enter ResultCount == <result>.
-
Set the ActionMode to Verify.
-
Make sure that the ActionMode of the attachments you want to count is set to WaitOn.
Use ResultCount