Friday, August 9, 2013

Test Case Template

Below is the Test Case Template which you can follow and start writing the test cases. Learning software testing is not a big deal, but to identify the critical scenarios and writing the test cases on those scenarios is quite difficult.

One should be a good negative thinker for finding the various critical scenario where the application collapse.
It is said by the Software Testing Professional that testing cannot be learned by just reading books or reading information from internet. Practicing is the only way of improving the skills.

Now before going for writing the test cases you should be aware about some of the Testing technical terms such as Regression Testing, Functionality Testing, Retesting, Smoke Testing, etc. If you are a book lover then you can read Software Testing By Ron Patton.

Now for writing the better Test Cases you should be clear with your requirements. Many times there's a lot of confusion between the application's feature and the bug. You will be feeling strange after reading this sentence. How could one be confused between features and bugs, but believe me its happens.

This kind of situations will only be understandable if you practice more and more. So now, here we go for our Test Case Template

Test Case Template:

It should have the following attributes:

1. Test Case Id
2. Test Objective
3. Pre-Requisite
4. Steps to be Followed
5. Test Data
6. Expected Result
7. Actual Result
8. Status(Pass/Fail)
9. Comment
10. Attachment.

This is the Test Case attributes which are present in the Test Case Template. If you want this template in an excel format you can Download here



Friday, August 2, 2013

Configuring Microsoft Outlook with telerik Test Studio

How Comfortable it will be when the mails will be send automatically whenever you run your test. The test results will be sent automatically to the manager or client with every details, you just need to click on Run button in Telerik Test Studio.

Check the Code:

Well we know that the Microsoft Office is developed in the Object Model. So for accessing the office tools we will first create the instance and then we will use the Outlook Object.

If you want to see how the test report/test log can be created in Telerik Test Studio click here


Microsoft.Office.Interop.Outlook.Application outl07=new Microsoft.Office.Interop.Outlook.ApplicationClass();

//Microsoft Outlook Object is created names as outl07

            Microsoft.Office.Interop.Outlook.MailItem mail= (Microsoft.Office.Interop.Outlook.MailItem)outl07.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem);

//Here the Outlook Object "MailItem is used".
// A object names as "mail" is created as the instance of the MailItem which will allow to use the different //properties such as Attachment, send, etc

            mail.Attachments.Add("D:\\Test Result.xlsx");
//Allows to add the attachment
            mail.To="abc@abc.com";
//Allows to enter the recipient
            mail.CC="xyz@xyz.com";
//Allows to add the CC
            mail.Subject="Test Result";
//Allows to add the subject
            mail.Body=@"Hello,
                        PFA for the Test Result";
//Allows to add the body
            mail.Send();  
//Allows to send the mail

For more studying about the Microsoft Outlook Objects,Properties and Methods click here