Category Archives: Testing

Where Are my SharePoint Test Automation DLLs?

While performing automated testing for your SharePoint Solutions, have you ever wondered how the Automated Test Cases get executed on remote environments that smoothly? They just work and you don’t have to copy the Automation DLLs to the remote machines.

For sure they get copied automatically somewhere, there is no magic here, but the question is where do they get copied ? The answer is in this video !

http://youtu.be/BmPU-CEgUsk

Oh, and the DLLs get deleted once the test is finished.

By the way, you won’t be able to run Automated Tests from Microsoft Test Manager unless you assign a Build to your Test Plan. This makes perfect sense, the Test Controller needs to know the Build Drop Folder from which it will copy the DLLs to the remote testing environment.

3

 

Note: You might need to change the quality to 720 p (HD) as shown above for the best viewing experience.

Note : While this was

[Arabic Video] Executing Automated Tests for SharePoint in Virtual Test Labs using Microsoft Test Manager 2012

In the video titled “Converting SharePoint Manual Tests to Automated Tests using Visual Studio 2012“, we ended up converting the manual test case we created in the “Manual Testing for SharePoint using Microsoft Test Manager 2012” video to an Automated Test.

In today’s video, I’ll show you how to execute the Automated Test from Microsoft Test Manager 2012 in the same way we executed a Manual Test. You can watch the video here.

8

 

When you run automated tests in Microsoft Test Manager, you must run them in a lab environment. To run automated tests in a lab environment, you must associate your automated tests with test cases, and then add the test cases to a test suite in a test plan.

Here are the steps performed in the video:

  1. Create a Virtual Test Lab for SharePoint using Microsoft Test Manager & Visual Studio 2012 Lab Management
  2. Build & Install the SharePoint application in the Testing Environment.
  3. Create new “Test Settings” (Data Collection & Diagnostic Data Adapters)
  4. Create a new Test Plan
  5. Configure the Test Plan (Test Settings & Test Environment)
  6. Add the Automated Test to the Test Plan.
  7. Create a Build Definition & Queue a new build.
  8. Assign the build to the Test Plan
  9. Run the automated Test Case from Microsoft Test Manager
  10. View & Analyze Results.

Please note that you might need to change the quality to 720 p (HD) as shown below for the best viewing experience.

9

[Arabic Video] Converting SharePoint Manual Test Cases to Automated Test Cases using Visual Studio 2012

In the previous video (Manual Testing for SharePoint using Microsoft Test Manager 2012), I’ve showed you how you can author, run and replay manual tests for SharePoint using Microsoft Test Manager 2012. In today’s video, I’ll take this manual test a step further by converting it into a fully automated test using Coded UI Tests in Visual Studio 2012. You can watch the video here.

Prerequisites for watching this video:

– SharePoint UI Test Automation using Visual Studio 2012 http://youtu.be/roSrEwNRt_U
– Data-Driven Coded UI Testing for SharePoint using Visual Studio 2012http://youtu.be/wG7o0SaGndg
– Authoring, Running & Replaying Manual Test Cases for SharePoint using Microsoft Test Manager 2012 http://youtu.be/GgfsmnIIu4k

1

 

Please note that you might need to change the quality to 720 p (HD) as shown below for the best viewing experience :

2

[Updated] – ”SharePoint Testing & Troubleshooting using Visual Studio 2012” – An Arabic Video Series

Happy new year! I wish you a fantastic 2013… May all your wishes come true; health, happiness, peace, fulfillment, prosperity …. all beautiful things to you, your families and loved ones, your countries, your people.

As the ‘SharePoint Practice Lead’ for MEA ALM Community and as promised during the official community launch, I’ve created a video series in Arabic to explain & demonstrate SharePoint Testing & Troubleshooting using Visual Studio 2012 & Microsoft Test Manager 2012. I’ve included all the videos in a YouTube playlist, you can access the list from here.

Here are also links to the videos that I created so far.

11

 

 

 

 

Watch the video here

22

Watch the video here

33

Watch the video here

44

Watch the video here

55

Watch the video here

66

Watch the video here

77

 

Watch the video here