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:

  1. Go to your XTestStep and select the XTestStepValue Attachments.

  2. In the Value drop-down menu, enter ResultCount == <result>.

  1. Set the ActionMode to Verify.

  2. Make sure that the ActionMode of the attachments you want to count is set to WaitOn.

Use ResultCount