<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Introduction to TestApi – Part 1: Input Injection APIs</title><link>http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/15/9223397.aspx</link><description>Series Index Overview of TestApi Part 1: Input Injection APIs Part 2: Command-Line Parsing APIs Part 3: Visual Verification APIs Part 4: Combinatorial Variation Generation APIs Part 5: Managed Code Fault Injection APIs Part 6: Text String Generation APIs</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Introduction to TestApi – Part 1: Input Injection APIs</title><link>http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/15/9223397.aspx#10149408</link><pubDate>Mon, 04 Apr 2011 07:23:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10149408</guid><dc:creator>thetpaing</dc:creator><description>&lt;p&gt;my test program is not wpf. it is normal window&lt;/p&gt;
&lt;p&gt;i have error in &lt;/p&gt;
&lt;p&gt;Mouse.MoveTo(closeButton.GetClickablePoint());&lt;/p&gt;
&lt;p&gt;NonComVisibleBaseClass was detected&lt;/p&gt;
&lt;p&gt;Message: A QueryInterface call was made requesting the class interface of COM visible managed class &amp;#39;MS.Internal.AutomationProxies.WindowsButton&amp;#39;. However since this class derives from non COM visible class &amp;#39;MS.Internal.AutomationProxies.ProxyHwnd&amp;#39;, the QueryInterface call will fail. This is done to prevent the non COM visible base class from being constrained by the COM versioning rules.&lt;/p&gt;
&lt;p&gt;how to solve this problem?&lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10149408" width="1" height="1"&gt;</description></item><item><title>re: Introduction to TestApi – Part 1: Input Injection APIs</title><link>http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/15/9223397.aspx#10050779</link><pubDate>Tue, 17 Aug 2010 00:24:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10050779</guid><dc:creator>ivom1</dc:creator><description>&lt;p&gt;@Neftali,&lt;/p&gt;
&lt;p&gt;Sure! A lot of people these days talk about Model-View separation, using various different patterns (Model-View-Controller, Model-View-Presenter, Model-View-ViewModel, etc.) A central goal of these patterns is to create a system where the Views are not tightly coupled with the Model. This goal has several important implications and one of them is improved testability. &lt;/p&gt;
&lt;p&gt;Imagine for example that you have an IM application. One way to test sending a message is by going through the UI. If you want to do that you will have to (programatically) navigate to the message textbox, type your message, navigate to the Send button, click on it, confirm somehow that your message has been successfully sent. You will have to invest in making the test you write robust so that you can handle different positions of the IM window, intermittent blocks such as another window obscuring your window, different languages and UI positioning, different display resolutions, possibly different OS-es, etc. Some of these will be bona-fide factors you need to include in your test matrix. Others would just be robustness considerations (let&amp;#39;s call this &amp;quot;robustness tax&amp;quot;). Now, in order to test your IM message sending functionality completely, you&amp;#39;d have to roll out quite a few variations of the same test -- with different message sizes, languages, etc. You&amp;#39;d have to pay this robustness tax in every one of these variations, which can quickly turn into a maintenance nightmare.&lt;/p&gt;
&lt;p&gt;What if you had a way to only test the UI in isolation (without actually sending messages) and only test the message sending functionality (in isolation) without having to deal with UI. Well, this is where Model-View separation comes in handy. Talking to your model without going through the UI is a lot more robust, fast and targeted (it&amp;#39;s a method call, not combination of UI interractions AND function call) -- you can easily test for a lot of different scenarios that have nothing to do with UI but are potentially bug-prone on the backend. So clearly - &amp;nbsp;a win, if you can pull that off.&lt;/p&gt;
&lt;p&gt;Hope that elaboration makes sense.&lt;/p&gt;
&lt;p&gt;Ivo&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10050779" width="1" height="1"&gt;</description></item><item><title>re: Introduction to TestApi – Part 1: Input Injection APIs</title><link>http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/15/9223397.aspx#10050290</link><pubDate>Sun, 15 Aug 2010 17:31:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10050290</guid><dc:creator>Neftali</dc:creator><description>&lt;p&gt;Can you elaborate on what you mean by &amp;nbsp;&amp;quot;UI testing is tricky and should be avoided whenever possible. It’s always preferable to design your application as a multi-tier application, with a “thin” UI layer, so that you can bypass the UI in most of your tests.&amp;quot; ??&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10050290" width="1" height="1"&gt;</description></item><item><title>Announcing WPF TestAPI 0.2 release | Coded Style</title><link>http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/15/9223397.aspx#9587719</link><pubDate>Tue, 05 May 2009 08:28:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9587719</guid><dc:creator>Announcing WPF TestAPI 0.2 release | Coded Style</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.codedstyle.com/announcing-wpf-testapi-02-release-16/"&gt;http://www.codedstyle.com/announcing-wpf-testapi-02-release-16/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9587719" width="1" height="1"&gt;</description></item><item><title>Announcing WPF TestAPI 0.2 release | Coded Style</title><link>http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/15/9223397.aspx#9587718</link><pubDate>Tue, 05 May 2009 08:28:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9587718</guid><dc:creator>Announcing WPF TestAPI 0.2 release | Coded Style</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.codedstyle.com/announcing-wpf-testapi-02-release-15/"&gt;http://www.codedstyle.com/announcing-wpf-testapi-02-release-15/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9587718" width="1" height="1"&gt;</description></item><item><title>Announcing WPF TestAPI 0.2 release | Coded Style</title><link>http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/15/9223397.aspx#9587715</link><pubDate>Tue, 05 May 2009 08:28:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9587715</guid><dc:creator>Announcing WPF TestAPI 0.2 release | Coded Style</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.codedstyle.com/announcing-wpf-testapi-02-release-14/"&gt;http://www.codedstyle.com/announcing-wpf-testapi-02-release-14/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9587715" width="1" height="1"&gt;</description></item><item><title>Announcing WPF TestAPI 0.2 release | Coded Style</title><link>http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/15/9223397.aspx#9587711</link><pubDate>Tue, 05 May 2009 08:27:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9587711</guid><dc:creator>Announcing WPF TestAPI 0.2 release | Coded Style</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.codedstyle.com/announcing-wpf-testapi-02-release-9/"&gt;http://www.codedstyle.com/announcing-wpf-testapi-02-release-9/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9587711" width="1" height="1"&gt;</description></item><item><title>Announcing WPF TestAPI 0.2 release | Coded Style</title><link>http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/15/9223397.aspx#9587709</link><pubDate>Tue, 05 May 2009 08:27:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9587709</guid><dc:creator>Announcing WPF TestAPI 0.2 release | Coded Style</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.codedstyle.com/announcing-wpf-testapi-02-release-8/"&gt;http://www.codedstyle.com/announcing-wpf-testapi-02-release-8/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9587709" width="1" height="1"&gt;</description></item><item><title>Announcing WPF TestAPI 0.2 release | Coded Style</title><link>http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/15/9223397.aspx#9587707</link><pubDate>Tue, 05 May 2009 08:26:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9587707</guid><dc:creator>Announcing WPF TestAPI 0.2 release | Coded Style</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.codedstyle.com/announcing-wpf-testapi-02-release-2/"&gt;http://www.codedstyle.com/announcing-wpf-testapi-02-release-2/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9587707" width="1" height="1"&gt;</description></item><item><title>Announcing WPF TestAPI 0.2 release | Coded Style</title><link>http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/15/9223397.aspx#9587704</link><pubDate>Tue, 05 May 2009 08:26:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9587704</guid><dc:creator>Announcing WPF TestAPI 0.2 release | Coded Style</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.codedstyle.com/announcing-wpf-testapi-02-release/"&gt;http://www.codedstyle.com/announcing-wpf-testapi-02-release/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9587704" width="1" height="1"&gt;</description></item></channel></rss>