question

MissingScrews avatar image
MissingScrews asked ericnute edited

Multiple e-mail attachements

I am trying to attach files to an e-mail, so I run a loop and then send the e-mail. Through the gui a simple attach statement will attach a new file each time, but if I run it using an itar through itestrt the attachment gets overwritten by the next file. Any idea on why this happens/any solutions to avoid this?
iTestiTest Runtime (itestrt)email
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
sai_kiran avatar image
sai_kiran answered
It is possible to attach multiple files using itestrt. By giving the action 'attach' description in test case as "file:/C:/Users/Administrator/Desktop/123.txt;file:/C:/Users/Administrator/Desktop/abc.txt". Here I am attaching the screenshot for your reference hope it helps.

screenshot.png (22.6 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.