Skip to main content
Go Search

Ayman El-Hattab's Blog [MVP]

Home
Ayman El-Hattab's Blog
Marwan Tarek's Blog
Mohamed Yehia's Blog
  

SharePoint 4 Arabs - Online SharePoint Training, Video Tutorials and Webcasts in Arabic > Ayman El-Hattab's Blog [MVP] > Categories
”The SharePoint Testing & Troubleshooting using Visual Studio 2012 Arabic Video Series” – Updates & Asks!

Now that I’m done with the whole video series, I have some updates, thoughts and asks that I’d like to share with you.

Updates: I’ve updated the YouTube Playlist and reordered the videos so that the whole series makes more sense for those who are not that familiar with Visual Studio ALM.

Asks: I’ve received many messages through email, Facebook & Twitter from non-Arabic speakers asking for the same series in English; some asked for a series of blog posts while others asked for videos in the same way I created the Arabic ones. I’d like to gather more feedback about this, what would you like to see ?

 

image

[Arabic Video] Creating Automated Build-Deploy-Test Workflows for SharePoint using Visual Studio 2012

This video is the last part of the "SharePoint Testing & Troubleshooting using Visual Studio 2012" Arabic video series. You need to watch the previous videos in the series to follow along. If you missed the previous videos, please check http://www.youtube.com/playlist?list=PLZIOt6kostj3yAvgsvMtqBk0J4wX1FQQR&feature=view_all

As mentioned in the previous video, you can create a build-deploy-test workflow using Visual Studio 2012 to deploy and test your SharePoint Applications when you run a build. This lets you schedule and run the build, deployment, and testing of your SharePoint application with one build process. Build-deploy-test workflows work with Lab Management to deploy your applications to a lab environment and run tests on them as part of the build process. You can watch a detailed video for the whole process here.

BDT1

BDT2

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

BDT3
[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.

Lab1

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.

Lab2

[Arabic Video] Exploratory & Agile Testing for SharePoint using Microsoft Test Manager 2012

This video is part of the SharePoint Testing & Troubleshooting Arabic Video Series.
In today’s video, you will learn how to do Exploratory Testing for your SharePoint solutions using Microsoft Test Manager 2012. You will learn about how exploratory testing (also called XT, or agile testing) has become a first-class experience in the toolset. This allows a tester to more flexibly test the underlying SharePoint Application without relying solely on formal test cases. Meanwhile, Microsoft Test Manager will continue to capture rich diagnostics about the application being tested which can be delivered to the development team if a bug is discovered. You can watch the video from here.

AgileTesting

AgileTesting2

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

SPDisposeCheck Static Code Analysis RuleSet for Visual Studio 2012

Do you remember the SPDisposeCheck Static Analysis RuleSet for Visual Studio 2008/10 ? It was pretty nifty, I’ve used it in many SharePoint 2010 projects and it did a great job. Yesterday, I decided to upgrade it to work with Visual Studio 2012 and I’ve published it today on CodePlex. You can get it from here.

This wonderful RulSset has been originally created by Stephen Vick, I just tweaked it a little bit to make it work with Visual Studio 2012.

What is Visual Studio Static Code Analysis ? http://msdn.microsoft.com/en-us/library/3z0aeatx.aspx

What is SPDisposeCheck ? http://archive.msdn.microsoft.com/SPDisposeCheck

By using SPDisposeCheck from within your Code Analysis, you can avoid any future memory leaks that might occur because your developers didn’t properly dispose the SharePoint API objects. You can even prevent bad code from entering your Source Control system by creating a check-in policy that performs Static Code Analysis and spot any issues earlier.

I have created a video that explains the setup steps and shows you a quick example. You can watch it here.

image

image

[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.

imageWatch the video here

image
Watch the video here

image
Watch the video here

image
Watch the video here

image
Watch the video here

image
Watch the video here

image

Watch the video here

[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 2012 http://youtu.be/wG7o0SaGndg
- Authoring, Running & Replaying Manual Test Cases for SharePoint using Microsoft Test Manager 2012 http://youtu.be/GgfsmnIIu4k

 

image

 

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

image

SharePoint Testing & Troubleshooting–What’s Next ?

If you have been following my blog in December 2012, you have most probably felt my tendency to focus on SharePoint Testing & Troubleshooting. That’s true, it’s a green field that nobody is tackling nowadays and I believe it’s very important for enhancing the overall SharePoint Application lifecycle & delivery.

The new features and enhancements in Visual Studio 2012 Update 1 are really cool; now we can say that we have a complete ALM story for building SharePoint Solutions.

I just wanted to take a moment to let you know about my upcoming activities during the first Quarter of 2013.

January 2013 - Arabic Video : Converting SharePoint Manual Tests to Automated ones using Visual Studio 2012.
- Arabic Video : Exploratory Testing for SharePoint using Microsoft Test Manager 2012.
- Arabic Video : Executing SharePoint Automated Tests in Virtual Lab Environments using Microsoft Test Manager 2012.
February 2013 - English Video : Coded UI Testing for SharePoint using Visual Studio 2012.
- English Video : Data-Driven Coded UI Testing for SharePoint Using Visual Studio 2012.
- English Video : Manual Testing for SharePoint using Microsoft Test Manager 2012.
- English Video : Converting SharePoint Manual Tests to Automated ones using Visual Studio 2012.

March 2013 - English Video : Executing SharePoint Automated Tests in Virtual Lab Environments using Microsoft Test Manager 2012.
- English Video : Exploratory Testing for SharePoint using Visual Studio 2012
- English Video : Visual Studio 2012 IntelliTrace Support for SharePoint

 

If you missed the previous videos, please check http://www.youtube.com/playlist?list=PLZIOt6kostj3yAvgsvMtqBk0J4wX1FQQR&feature=view_all , I’ll be updating the list with the new videos once I create them.

image

[Arabic Video] SharePoint UI Test Automation using Visual Studio 2012

 

You can use Visual Studio 2012 to create automated tests of the user interface (UI) known as coded UI tests. These tests provide functional testing of the user interface and validation of user interface controls. Automated UI tests enable you to test that the user interface is functioning correctly after code changes. They are quicker to run than manual tests. Therefore, you can run them more frequently.

image

Visual Studio 2010 partially supported Coded UI Testing for SharePoint while Visual Studio 2012 was pretty close to fully supporting this but there were a few SharePoint specific issues that the product team wasn’t able to address that made CodedUI (functional testing) not work well for SharePoint. In Visual Studio 2012 Update 1, those issues were addressed and now Coded UI Testing is fully supported for SharePoint 2010.

I’ve recorded a quick video (in Arabic) to help you quickly get started with Coded UI Testing for SharePoint, you can watch the video here 

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

image

SharePoint Application Lifecycle Management: Automated Builds and Testing for SharePoint projects

Whether experienced or novice, most SharePoint development teams can improve their processes with the help of Team Foundation Server and Visual Studio  - specifically with automated WSP builds and VS2010 Coded UI testing (which can have a much lower barrier to entry than unit testing). When a few of these capabilities are strung together, the results are incredible for dev teams. In TechEd 2012, Jay Schmelzer delivered a very good session covering the following:

  • Automating the build,
  • deploying the resulting WSPs to a remote SharePoint environment
  • automatically running UI tests against the site.

You can download the session from here ..

1 - 10 Next