How to Prepare for the Microsoft Platform Tests

How to Prepare for the Microsoft Platform Tests

icrosoft’s Platform Tests help ensure that the many and varied applications available for Windows give users a consistent experience, and avoid application and operating system conflicts. The tests verify basic application stability, check for memory and other leaks, ensure that your application does not affect Windows stability, and ensure that your application works with operating system features such as fast user switching and running as a user with limited security permissions. The platform test is not a technology-agnostic test?it is specifically targeted at applications written in .NET for Windows platforms.

Customers have come to expect that Windows applications follow the “rules.” For example, modern Windows applications should install to C:Program Files by default, should not replace system files, and must not interfere with other applications or the operating system. To complicate matters for developers, the rules have changed over time as new Windows versions have appeared (remember when installing DLLs to C:WindowsSystem32 was not only allowed, but recommended?) The best way to ensure your applications adhere to the current set of rules is to use the Microsoft Platform tests, which encapsulate a minimum baseline of modern operating system support.

The primary reason given by Microsoft for completing the Platform tests is that they are one way to qualify for the Microsoft Certified Partner program if your organization is an independent software vendor (ISV). If your application passes five of the tests, your organization gets 50 “partner points,” and qualifies for the “Certified Partner” program. VeriTest runs the “certified” Microsoft Platform tests. You can enroll for those tests online at http://www.VeriTest.com/certification/ms/platformtest.asp.

But qualifying for the Microsoft partner program is not the only reason you should consider the platform tests?the tests help you to both verify and demonstrate to your customers that your software executes correctly and is robust and stable on Windows operating systems. Even if you choose to perform the tests in-house instead of getting VeriTest to perform and certify the tests, it’s well worth the effort to study the test specification and ensure that your application meets the requirements.

Using an externally-prepared test plan?saves you the time, cost, and effort of preparing your own test plan, and leverages the knowledge and experience of the team at Microsoft who prepared them. Finally, it’s important to perform tests such as verifying that your application works with fast user switching in Windows XP, or that it operates successfully when you are logged in as a user with restricted rights. Too often, we developers assume that our applications work in a variety of environments without actually putting them to the test. Making sure your applications pass the tests will reduce support requirements and improve customer satisfaction.

What Tests Do You Need?
The platform tests are broken up into two main areas: operating system tests and other components. You should initially aim to pass the fundamental operating system “core” tests; the other components tests essentially provide “extra points” for ISVs trying to qualify for the Microsoft Certified Partner program.

Core Tests
The core platform tests are the Windows Server and Windows Client tests. The Windows Server test verifies that your server components:

  • Execute correctly on Windows Server 2003.
  • Do not leak memory, locks, or handles.
  • Do not attempt to replace files under Windows File Protection. Windows file protection maintains a list of operating system files, and actively monitors them for changes. If a protected file is changed, WFP will automatically restore the file from a backup it creates. Applications that use the Windows Installer will generally conform to this requirement.

The test also requires that your server application meets at least one of the following conditions:

  • Does not require a reboot after installation or un-installation.
  • Installs without disabling services (other than any services that are a part of your application).
  • Supports Active Directory.
  • Supports Windows Management Instrumentation (WMI).
  • Uses SharePoint Services.
  • Uses ASP.NET.

The Windows Client test verifies that your client components execute correctly on Windows 2000 Professional or XP and (just like the Windows Server test) the Windows Client test checks that your application does not leak memory, locks, or handles, and does not attempt to replace files under Windows File Protection.

The test also requires that your client application meets at least one of the following conditions:

  • Does not require a reboot after installation, or un-installation.
  • Supports “All users” installation.
  • Supports fast user switching in Windows XP.
  • Runs successfully as a “limited user.” Applications should not write to restricted parts of the registry. Settings should be stored in a subdirectory of the logged-on user’s Documents and Settings folder (Documents and Settings/Application Data/Your Application is recommended), or in the HKEY_CURRENT_USER hive of the system registry.

The “Other Components” Tests:
The other tests generally apply only if you are performing the Platform tests to gain points for the Microsoft partner program. Each test your application passes gives you an extra 10 points towards the 50 points required to join the program. Basically, these are “bonus points” for implementing Microsoft technologies in your application. These tests provide an indication of the kinds of tools and technologies being actively promoted by Microsoft, so if you implement some (or all) of them, you’ll be able to leverage some of Microsoft’s current marketing campaigns.

The SQL Server platform test applies if your application uses SQL server. It requires that you use ADO/ADO.NET, OLEDB, ODBC, or JDBC to connect SQL server, and that you either check for SQL Server service pack 3 or support both SQL Server authentication and Windows Authentication.

The Office test applies if your application contains a COM, VBA, or VSTO add-in, or exposes data using the Office 2003 Research and Reference feature or Smart Tags. If you can demonstrate your add-in or support for Research and Reference/Smart Tags, your application passes the test.

The Managed Code platform test applies if your application is written using the Microsoft .NET framework. The only requirement is that all application executables (DLLs and EXEs) are in managed code. You can use FXCop to check that all your DLLs and EXEs are in managed code, or you can try to load each DLL and EXE in your application using the ILDASM tool (ILDASM is one of the .NET Framework Tools?it installs by default as part of Visual Studio).

The Web Services .NET Framework test (this test is also called “.NET Connected” in some Microsoft literature) applies if your application consumes or exposes a public Web service, and is written using the Microsoft .NET platform. If you are exposing a Web service, it must support XML Schema, SOAP 1.1, WSDL 1.1, and if you are using a directory service, UDDI 2.0.

If your application consumes a Web service, using the .NET framework qualifies your application for the Web Services .NET Framework test, and there are no special requirements for the use of WSDL, UDDI, or any other protocols.

Preparing for the Tests
To begin preparing for the tests, follow these steps:

  1. Read the Application test specification.
  2. Work though the checklist sections and make sure that you think your application meets the requirements as listed.
  3. Prepare a client (and server, if required) test system with the latest Windows security patches installed, and run though the tests in the detailed section of the document. Make sure you write down your test steps, expected results, and actual results?it’s too easy to subconsciously assume that your application functions correctly. Writing down the results is a useful discipline to ensure you actually perform the tests. Ideally someone who was not involved in developing the application should perform the test.
  4. Sign up for testing at VeriTest.

How the VeriTest Process Works.
If you are performing the Platform Tests to join the Microsoft Certified Partner program, you must submit your application for testing by VeriTest. Even if you are not trying to qualify for the Microsoft Certified Partner program, you may want VeriTest to perform the testing as a kind of “independent audit” of your software.

VeriTest testing costs $400 per platform test. The sign-up process at the VeriTest site takes some time?you have to enter details about your organization and application, select tests, and answer questionnaires for each test. The test questionnaires contain questions that determine whether your application meets the requirements for Platform testing. You’ll have all the answers at hand if you followed the preparation steps shown earlier.

After completing the questionnaires, you submit your application for testing, and send VeriTest your application install media (you can upload a disk image to VeriTest, let them download an image from you, or mail it?but the process will run more smoothly if you submit your disk image electronically). VeriTest will review your questionnaires before testing begins and sort out any problems.

VeriTest is a worldwide company, so don’t be surprised if you receive e-mail messages from Ireland, China, and the United States as part of the process.

Testing takes from one to four weeks. VeriTest sends you an e-mail when the tests are complete, informing you of your successful pass (including a Product ID number you can enter at the Microsoft Channel Partner site to indicate that you have the required points for the “Certified Partner” program), or you will receive a failure report detailing the reasons your application did not pass, including the steps to reproduce the problem.

You can rectify any problems and re-submit the application for a re-test for an additional fee. If your application passes (for example) four of the five tests, you need to re-submit only that one test.

Independent Verification
The Platform tests were designed as a means to qualify for the Microsoft Certified Partner program, but you can use them to independently verify that your application, its installer, and configuration meets the baseline level of operating support for both Windows client and server applications?whether you choose to have your application tested by VeriTest, or perform your testing in house.

After your application has passed the Platform tests, you will know (rather than just think) that your application meets the minimum requirements expected by your customers, and will run successfully on different Windows systems. It’s good to know?but make sure you prepare for the tests properly. You can maximize your chances of success by following the guidelines and preparation steps in this article.

devx-admin

devx-admin

Share the Post:
USA Companies

Top Software Development Companies in USA

Navigating the tech landscape to find the right partner is crucial yet challenging. This article offers a comparative glimpse into the top software development companies

Software Development

Top Software Development Companies

Looking for the best in software development? Our list of Top Software Development Companies is your gateway to finding the right tech partner. Dive in

India Web Development

Top Web Development Companies in India

In the digital race, the right web development partner is your winning edge. Dive into our curated list of top web development companies in India,

USA Web Development

Top Web Development Companies in USA

Looking for the best web development companies in the USA? We’ve got you covered! Check out our top 10 picks to find the right partner

Clean Energy Adoption

Inside Michigan’s Clean Energy Revolution

Democratic state legislators in Michigan continue to discuss and debate clean energy legislation in the hopes of establishing a comprehensive clean energy strategy for the

Chips Act Revolution

European Chips Act: What is it?

In response to the intensifying worldwide technology competition, Europe has unveiled the long-awaited European Chips Act. This daring legislative proposal aims to fortify Europe’s semiconductor

USA Companies

Top Software Development Companies in USA

Navigating the tech landscape to find the right partner is crucial yet challenging. This article offers a comparative glimpse into the top software development companies in the USA. Through a

Software Development

Top Software Development Companies

Looking for the best in software development? Our list of Top Software Development Companies is your gateway to finding the right tech partner. Dive in and explore the leaders in

India Web Development

Top Web Development Companies in India

In the digital race, the right web development partner is your winning edge. Dive into our curated list of top web development companies in India, and kickstart your journey to

USA Web Development

Top Web Development Companies in USA

Looking for the best web development companies in the USA? We’ve got you covered! Check out our top 10 picks to find the right partner for your online project. Your

Clean Energy Adoption

Inside Michigan’s Clean Energy Revolution

Democratic state legislators in Michigan continue to discuss and debate clean energy legislation in the hopes of establishing a comprehensive clean energy strategy for the state. A Senate committee meeting

Chips Act Revolution

European Chips Act: What is it?

In response to the intensifying worldwide technology competition, Europe has unveiled the long-awaited European Chips Act. This daring legislative proposal aims to fortify Europe’s semiconductor supply chain and enhance its

Revolutionized Low-Code

You Should Use Low-Code Platforms for Apps

As the demand for rapid software development increases, low-code platforms have emerged as a popular choice among developers for their ability to build applications with minimal coding. These platforms not

Cybersecurity Strategy

Five Powerful Strategies to Bolster Your Cybersecurity

In today’s increasingly digital landscape, businesses of all sizes must prioritize cyber security measures to defend against potential dangers. Cyber security professionals suggest five simple technological strategies to help companies

Global Layoffs

Tech Layoffs Are Getting Worse Globally

Since the start of 2023, the global technology sector has experienced a significant rise in layoffs, with over 236,000 workers being let go by 1,019 tech firms, as per data

Huawei Electric Dazzle

Huawei Dazzles with Electric Vehicles and Wireless Earbuds

During a prominent unveiling event, Huawei, the Chinese telecommunications powerhouse, kept quiet about its enigmatic new 5G phone and alleged cutting-edge chip development. Instead, Huawei astounded the audience by presenting

Cybersecurity Banking Revolution

Digital Banking Needs Cybersecurity

The banking, financial, and insurance (BFSI) sectors are pioneers in digital transformation, using web applications and application programming interfaces (APIs) to provide seamless services to customers around the world. Rising

FinTech Leadership

Terry Clune’s Fintech Empire

Over the past 30 years, Terry Clune has built a remarkable business empire, with CluneTech at the helm. The CEO and Founder has successfully created eight fintech firms, attracting renowned

The Role Of AI Within A Web Design Agency?

In the digital age, the role of Artificial Intelligence (AI) in web design is rapidly evolving, transitioning from a futuristic concept to practical tools used in design, coding, content writing

Generative AI Revolution

Is Generative AI the Next Internet?

The increasing demand for Generative AI models has led to a surge in its adoption across diverse sectors, with healthcare, automotive, and financial services being among the top beneficiaries. These

Microsoft Laptop

The New Surface Laptop Studio 2 Is Nuts

The Surface Laptop Studio 2 is a dynamic and robust all-in-one laptop designed for creators and professionals alike. It features a 14.4″ touchscreen and a cutting-edge design that is over

5G Innovations

GPU-Accelerated 5G in Japan

NTT DOCOMO, a global telecommunications giant, is set to break new ground in the industry as it prepares to launch a GPU-accelerated 5G network in Japan. This innovative approach will

AI Ethics

AI Journalism: Balancing Integrity and Innovation

An op-ed, produced using Microsoft’s Bing Chat AI software, recently appeared in the St. Louis Post-Dispatch, discussing the potential concerns surrounding the employment of artificial intelligence (AI) in journalism. These

Savings Extravaganza

Big Deal Days Extravaganza

The highly awaited Big Deal Days event for October 2023 is nearly here, scheduled for the 10th and 11th. Similar to the previous year, this autumn sale has already created

Cisco Splunk Deal

Cisco Splunk Deal Sparks Tech Acquisition Frenzy

Cisco’s recent massive purchase of Splunk, an AI-powered cybersecurity firm, for $28 billion signals a potential boost in tech deals after a year of subdued mergers and acquisitions in the

Iran Drone Expansion

Iran’s Jet-Propelled Drone Reshapes Power Balance

Iran has recently unveiled a jet-propelled variant of its Shahed series drone, marking a significant advancement in the nation’s drone technology. The new drone is poised to reshape the regional

Solar Geoengineering

Did the Overshoot Commission Shoot Down Geoengineering?

The Overshoot Commission has recently released a comprehensive report that discusses the controversial topic of Solar Geoengineering, also known as Solar Radiation Modification (SRM). The Commission’s primary objective is to

Remote Learning

Revolutionizing Remote Learning for Success

School districts are preparing to reveal a substantial technological upgrade designed to significantly improve remote learning experiences for both educators and students amid the ongoing pandemic. This major investment, which

Revolutionary SABERS Transforming

SABERS Batteries Transforming Industries

Scientists John Connell and Yi Lin from NASA’s Solid-state Architecture Batteries for Enhanced Rechargeability and Safety (SABERS) project are working on experimental solid-state battery packs that could dramatically change the

Build a Website

How Much Does It Cost to Build a Website?

Are you wondering how much it costs to build a website? The approximated cost is based on several factors, including which add-ons and platforms you choose. For example, a self-hosted