I wanted to know if it is possible in Silk to check that a mail sent (from an application) has been received in the specified e-Mail box.
1. Launch an application that allows you to send a mail
2. Type in the mail content and press the send button
3. How to verify that the mail has reached the recipient.
[easiest]For Office Outlook you can use rules to run script when an emails arrives.
The best is to list emails from inbox and find the email sent but that requires some work.
[a little work]Another way is use Telnet protocol (you can do it manually first) to check email count before you send the email and keeps checking until email count is increased. Once you know what to do script it or code it (maybe Perl has a module to check mail server it has one module sendmail.pm to send mail).
You don't need to manipulate Office Outlook during run-time. If you do then you should do it outside of Silk (MAPI/Outlook interfaces) using an utility to do that (it's just easier for profile manipulation etc).
You just need to require some environment setup for your test as you would for any test. The rule would be setup so it knows what email is the one you are checking (like content, subject, sender, or whatever). The rule will be activated when the conditions are satisfied and the action is called "start application" (in office 2003) which can launch an .exe (it might be able to launch other stuff.
It's easier to have Outlook launch a program that creates a file that you can monitor than try to use SilkTest and figure out an email has arrived within the UI. I just think you will spend less time testing the code where Silk is figuring out when an email arrived if done with the rule + file monitoring (much more reliable).