http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2724147&SiteID=1
Hi,
I want to send a successful email to a user through smtp server if test run success and on the other hand if web test fail, then i want to sent a failed email message to the user as notification.
I can send normal email from the coded scripts.
But I don't know how to retrieve web test run result status: pass or fail .........
I want to know the exact command or code as if I can able to send an email after the test run and after it's run success or fail
I very much appreciate your help. Noted that I am using VSTS 2005
Thanks,
Jaeed
-----------------------------------------------------------------------------------------
Answer Re: Coded web test - How to Send an email after test run and after test success or fail Was this post helpful ?
In VSTS 2008, in your coded web test, you can call this.Outcome.ToString(). In VSTS 2005, the property is not exposed.
Thanks.
------------------------------------------------------------------------------------------------
Re: Coded web test - How to Send an email after test run and after test success or fail
Thanks a lot Yutong. Jaeed
The contents of this blog were gathered from the blogger real life experiences and from the different forums related to automated test.
Subscribe to:
Post Comments (Atom)
Unix/Linux Commands
Flow control Syntax break Exit a loop. continue Exit the current iteration of the loop and proceed with the next iteration. Ctrl+C Key com...
-
%systemroot%\system32\inetsrv\config\applicationHost.config https://docs.microsoft.com/en-us/iis/configuration/system.applicationhos...
-
hi everybody, i am doing load test for 10 users,20users,30users working fine upto to this point if increase to 40 users iam getting error a...
No comments:
Post a Comment