This project contains test for testing the attachments feature in gmail.
It logs in an account specified in the credentials file, creates an empty message with attachment and sends it to self, then checks for a name of attached file.
To sucsessfully execute tests:
-
Download this repository content
-
In the solution directory create and save file credentials.txt with following information:
gmail username (without @gmail.com)
password
path to file you will upload
name of the file from the preceding line
-
Open Visual Studio project
-
Open Test Explorer
-
Select the only test and run it