Microsoft Protocol Test Suites Available

Microsoft Protocol Test Suites Available

  • Comments 1
  • Likes

We recently released a set of Microsoft Protocol Test Suites. OK it was a month ago, but we’ve been really busy…really! To access them you must have a Live ID and sign up. These Test Suites allow you to evaluate whether a protocol implementation meets certain interoperability requirements. They don’t cover every protocol requirement but can be a useful indication of interoperability. Plus all the source code is included so that you can extend them.

If you are involved in interoperating with Microsoft products, these Test Suites can provide some valuable information. Also be sure to check out all of our Interoperability Testing Links.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • <p>Hi, </p> <p>I am Glad to hear about this initiative and your article. I guess it would be right to ask you some suggetion regarding a problem </p> <p>I got struck in the proess of developing a TestSuites-Automation-Framework. </p> <p>Automation-Framework is to verify BROWSER conformance to W3C Standards. A set of testcases, are authored upon understanding the STANDARD, and its IMPLEMENTATION. Framework testcases inside an &quot;iFrame&quot; of browser-under-test, and evaluates its result. Such results should be logged onto persistent storage, for which a PHP application is written for appending/creating files and data. But, this LOGGING is not possible when I run the testsuite from a mobile-phone that has a browser altering websites to display optimally on phones. In such a case, this LOGGING is not working in expected manner. I am referring to that content-altering-process-on-mobile as a PROXY-MODE. I pasted code-snippets for your reference. </p> <p>1. All the test-cases that are to be evaluated are specified in an Array named tests. Example,</p> <p>var tests = new Array(&quot;TestCase001.html&quot;, &quot;TestCase002.html&quot;,&quot;TestCase003.html”, ---so on till--- ,&quot;TestCase00n.html&quot;);</p> <p>2. test-cases are loaded one after another in an iFrame (1st feature, described in previous mail).</p> <p> &nbsp; 2.1 As loading a test-caseevery time in the same iFrame did not fire the load event (in proxy-mode); we are removing and re-creating the iFrame every time when it need to load a new test-case. This also ensures that un-necessary garbage is cleared and keeps memory afresh.</p> <p>/** Code to remove iframe from DOM and re-create to load next test **/</p> <p> &nbsp; try</p> <p> &nbsp; {</p> <p> &nbsp; &nbsp; &nbsp; var fRef = document.getElementById(destFrame);</p> <p> &nbsp; &nbsp; &nbsp; document.body.removeChild(fRef);</p> <p> &nbsp; }</p> <p> &nbsp; catch(exception)</p> <p> &nbsp; {</p> <p> &nbsp; &nbsp; &nbsp; console.log(&quot;unable to remove child&quot;);</p> <p> &nbsp; }</p> <p> &nbsp; try</p> <p> &nbsp; {</p> <p> &nbsp; &nbsp; &nbsp; var tFrame = document.createElement(&#39;iframe&#39;);</p> <p> &nbsp; &nbsp; &nbsp; tFrame.setAttribute(&quot;id&quot;, destFrame);</p> <p> &nbsp; &nbsp; &nbsp; document.body.appendChild(tFrame);</p> <p> &nbsp; }</p> <p> &nbsp; catch(exception)</p> <p> &nbsp; {</p> <p> &nbsp; &nbsp; &nbsp; console.log(&quot;unable to add child&quot;);</p> <p> &nbsp; }</p> <p> &nbsp; 2.2 Get the reference for next test-case and load it into iFrame.</p> <p> &nbsp; document.getElementById(destFrame).setAttribute(“src”, &lt;&lt;next test case reference in ‘tests’ array&gt;&gt;);</p> <p>3. Once a test-case loads, test-case evaluation logic runs (in iFrame’s context) and notifies result of that test-case to its parent window (we used “window.top” property). Now, we cache the result in a Javascript variable (2nd feature) and log the results on to a persistent storage for every ‘N’ number of cases using php (3rd feature, we are referring this as ‘chunk-logging’). Javascript AJAX API is used to POST the request to php file. As we found some problem in logging the results in “proxy-mode”, for testing purpose we tried parameterizing test-result as a GET parameter and setting “src” attribute of an iFrame to that php file without using AJAX (Kindly note that this modification is made only for testing purpose to identify the issue in proxy-mode and shall be reverted to its original form – ‘chunk logging’).</p> <p> &nbsp; var fRef = document.getElementById(&quot;firstFrame&quot;);</p> <p> &nbsp; fRef.setAttribute(&quot;src&quot;,&lt;&lt;location of php file&gt;&gt;+&quot;?fileName=&lt;&lt;log file name&gt;&gt;&amp;_POST_TEST_RESULTS=&quot;+&lt;&lt;result to log&gt;&gt;);</p>