<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>TestApi Issue Tracker Rss Feed</title><link>http://www.codeplex.com/TestApi/WorkItem/List.aspx</link><description>TestApi Issue Tracker Rss Description</description><item><title>Commented Issue: Problem closing multiple automated applications [23976]</title><link>http://testapi.codeplex.com/workitem/23976</link><description>I&amp;#39;d like to be able to have more than one automated application running at a time.  I&amp;#39;m able to open them and automate them, but there seems to be some sort of problem when I close them.  It seems that when I close one, one or more of the remaining ones will also close.  However, their associated objects appear to be intact.  I get the following exception when I try to close the second application&amp;#58;&lt;br /&gt;&lt;br /&gt;System.InvalidOperationException was unhandled&lt;br /&gt;  Message&amp;#61;Unsupported Pattern.&lt;br /&gt;  Source&amp;#61;UIAutomationClient&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at System.Windows.Automation.AutomationElement.GetCurrentPattern&amp;#40;AutomationPattern pattern&amp;#41;&lt;br /&gt;       at Microsoft.Test.ApplicationControl.UIAutomationApplicationImpl.CloseProcessWorker&amp;#40;&amp;#41;&lt;br /&gt;       at System.Threading.ThreadHelper.ThreadStart_Context&amp;#40;Object state&amp;#41;&lt;br /&gt;       at System.Threading.ExecutionContext.Run&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx&amp;#41;&lt;br /&gt;       at System.Threading.ExecutionContext.Run&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state&amp;#41;&lt;br /&gt;       at System.Threading.ThreadHelper.ThreadStart&amp;#40;&amp;#41;&lt;br /&gt;  InnerException&amp;#58;&lt;br /&gt;Comments: ** Comment from web user: PaulEbert ** &lt;p&gt;Attached is some code that exhibits the problem.&lt;/p&gt;</description><author>PaulEbert</author><pubDate>Fri, 22 Feb 2013 19:33:12 GMT</pubDate><guid isPermaLink="false">Commented Issue: Problem closing multiple automated applications [23976] 20130222073312P</guid></item><item><title>Created Issue: Problem closing multiple automated applications [23976]</title><link>http://testapi.codeplex.com/workitem/23976</link><description>I&amp;#39;d like to be able to have more than one automated application running at a time.  I&amp;#39;m able to open them and automate them, but there seems to be some sort of problem when I close them.  It seems that when I close one, one or more of the remaining ones will also close.  However, their associated objects appear to be intact.  I get the following exception when I try to close the second application&amp;#58;&lt;br /&gt;&lt;br /&gt;System.InvalidOperationException was unhandled&lt;br /&gt;  Message&amp;#61;Unsupported Pattern.&lt;br /&gt;  Source&amp;#61;UIAutomationClient&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at System.Windows.Automation.AutomationElement.GetCurrentPattern&amp;#40;AutomationPattern pattern&amp;#41;&lt;br /&gt;       at Microsoft.Test.ApplicationControl.UIAutomationApplicationImpl.CloseProcessWorker&amp;#40;&amp;#41;&lt;br /&gt;       at System.Threading.ThreadHelper.ThreadStart_Context&amp;#40;Object state&amp;#41;&lt;br /&gt;       at System.Threading.ExecutionContext.Run&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx&amp;#41;&lt;br /&gt;       at System.Threading.ExecutionContext.Run&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state&amp;#41;&lt;br /&gt;       at System.Threading.ThreadHelper.ThreadStart&amp;#40;&amp;#41;&lt;br /&gt;  InnerException&amp;#58;&lt;br /&gt;</description><author>PaulEbert</author><pubDate>Fri, 22 Feb 2013 19:31:54 GMT</pubDate><guid isPermaLink="false">Created Issue: Problem closing multiple automated applications [23976] 20130222073154P</guid></item><item><title>Commented Issue: Alt+Tab is doesn't work On win8 OS [23408]</title><link>http://testapi.codeplex.com/workitem/23408</link><description>Alt&amp;#43;Tab is work on win7 but didn&amp;#8217;t works on win8. code as below&amp;#58;&lt;br /&gt;Microsoft.Test.Input.Keyboard.Press&amp;#40;Microsoft.Test.Input.Key.LeftAlt&amp;#41;&amp;#59;&lt;br /&gt;Microsoft.Test.Input.Keyboard.Press&amp;#40;Microsoft.Test.Input.Key.Tab&amp;#41;&amp;#59;&lt;br /&gt;DispatcherOperations.WaitFor&amp;#40;DispatcherPriority.ApplicationIdle&amp;#41;&amp;#59;&lt;br /&gt;Microsoft.Test.Input.Keyboard.Release&amp;#40;Microsoft.Test.Input.Key.Tab&amp;#41;&amp;#59;&lt;br /&gt;Microsoft.Test.Input.Keyboard.Release&amp;#40;Microsoft.Test.Input.Key.LeftAlt&amp;#41;&amp;#59;&lt;br /&gt;Comments: ** Comment from web user: xiaxing86 ** &lt;p&gt;Alt&amp;#43;Tab is work on win7 but didn&amp;#8217;t works on win8. code as below&amp;#58;&lt;br /&gt;Microsoft.Test.Input.Keyboard.Press&amp;#40;Microsoft.Test.Input.Key.LeftAlt&amp;#41;&amp;#59;&lt;br /&gt;Microsoft.Test.Input.Keyboard.Press&amp;#40;Microsoft.Test.Input.Key.Tab&amp;#41;&amp;#59;&lt;br /&gt;DispatcherOperations.WaitFor&amp;#40;DispatcherPriority.ApplicationIdle&amp;#41;&amp;#59;&lt;br /&gt;Microsoft.Test.Input.Keyboard.Release&amp;#40;Microsoft.Test.Input.Key.Tab&amp;#41;&amp;#59;&lt;br /&gt;Microsoft.Test.Input.Keyboard.Release&amp;#40;Microsoft.Test.Input.Key.LeftAlt&amp;#41;&amp;#59;&lt;br /&gt; &lt;/p&gt;</description><author>xiaxing86</author><pubDate>Tue, 25 Sep 2012 07:14:09 GMT</pubDate><guid isPermaLink="false">Commented Issue: Alt+Tab is doesn't work On win8 OS [23408] 20120925071409A</guid></item><item><title>Created Issue: Alt+Tab is doesn't work On win8 OS [23408]</title><link>http://testapi.codeplex.com/workitem/23408</link><description>Alt&amp;#43;Tab is work on win7 but didn&amp;#8217;t works on win8. code as below&amp;#58;&lt;br /&gt;Microsoft.Test.Input.Keyboard.Press&amp;#40;Microsoft.Test.Input.Key.LeftAlt&amp;#41;&amp;#59;&lt;br /&gt;Microsoft.Test.Input.Keyboard.Press&amp;#40;Microsoft.Test.Input.Key.Tab&amp;#41;&amp;#59;&lt;br /&gt;DispatcherOperations.WaitFor&amp;#40;DispatcherPriority.ApplicationIdle&amp;#41;&amp;#59;&lt;br /&gt;Microsoft.Test.Input.Keyboard.Release&amp;#40;Microsoft.Test.Input.Key.Tab&amp;#41;&amp;#59;&lt;br /&gt;Microsoft.Test.Input.Keyboard.Release&amp;#40;Microsoft.Test.Input.Key.LeftAlt&amp;#41;&amp;#59;&lt;br /&gt;</description><author>xiaxing86</author><pubDate>Tue, 25 Sep 2012 07:12:46 GMT</pubDate><guid isPermaLink="false">Created Issue: Alt+Tab is doesn't work On win8 OS [23408] 20120925071246A</guid></item><item><title>Created Issue: IndexOutOfRangeException in NumberProperty.InitializeNumberCharDictionary [23138]</title><link>http://testapi.codeplex.com/workitem/23138</link><description>An IndexOutOfRangeException is thrown on line 89 of NumberProperty.cs due to the fact that there are 2 identical ranges in the &amp;#96;expectedRanges&amp;#96; parameter under certain conditions which I am not fully able to describe, however, it appears to be a bug with clearing the cached &amp;#39;range&amp;#39; state in StringFactory.&lt;br /&gt;&lt;br /&gt;This unit test fails, highlighting the issue&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#91;Fact&amp;#93;&lt;br /&gt;public void ChangingStringPropertiesResetsCachedStringFactoryState&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    var properties &amp;#61; new StringProperties&lt;br /&gt;        &amp;#123;&lt;br /&gt;            MinNumberOfCodePoints &amp;#61; 10,&lt;br /&gt;            MaxNumberOfCodePoints &amp;#61; 30&lt;br /&gt;        &amp;#125;&amp;#59;&lt;br /&gt;    var s1 &amp;#61; StringFactory.GenerateRandomString&amp;#40;properties, 1234&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;    properties &amp;#61; new StringProperties&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            MinNumberOfCodePoints &amp;#61; 10,&lt;br /&gt;            MaxNumberOfCodePoints &amp;#61; 30,&lt;br /&gt;            HasNumbers &amp;#61; true&lt;br /&gt;        &amp;#125;&amp;#59;&lt;br /&gt;&lt;br /&gt;    s1 &amp;#61; StringFactory.GenerateRandomString&amp;#40;properties, 1234&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;Moving the &amp;#96;ranges.Clear&amp;#40;&amp;#41;&amp;#96; call in StringFactory.InitializeProperties before the conditional fixes this problem, since it appears to reset the chached state correctly.&lt;br /&gt;&lt;br /&gt;However, I&amp;#39;d even say further the design of this class is suspect, since cached static state prevents any concurrency. Why is StringFactory static&amp;#63; Why not create a StringFactory per properties as an instance, which would allow the desired caching without the global state which causes these kinds of problems&amp;#63;&lt;br /&gt;</description><author>codekaizen</author><pubDate>Tue, 07 Aug 2012 21:50:48 GMT</pubDate><guid isPermaLink="false">Created Issue: IndexOutOfRangeException in NumberProperty.InitializeNumberCharDictionary [23138] 20120807095048P</guid></item><item><title>Closed Issue: OutOfProcessApplication [18170]</title><link>http://testapi.codeplex.com/workitem/18170</link><description>I&amp;#8217;m running into some exception&amp;#47;limitations using the OutOfProcessApplication class.&lt;br /&gt;&lt;br /&gt;Basically I just need a way to send command arguments to an outOfProcessApplication even if I have already started the application.&lt;br /&gt;&lt;br /&gt;When I initially start the outOfProcessApplication  I can set the ProcessStartInfo to contain the command arguments I want to start the process with, but if I try and change the arguments and call Start&amp;#40;&amp;#41; again then I get an exception that the process is already started. This makes sense, but it does not work how the Diagnostics.Process class works, which allows you to call Start&amp;#40;&amp;#41; even on an already running process and it just sends the command line parameters to the application.&lt;br /&gt;&lt;br /&gt;Is there a way to send command line arguments to an already running outOfProcessApplication&amp;#63;&lt;br /&gt;&lt;br /&gt;I have code from an older project which wraps Process.Start&amp;#40;&amp;#41; to add my wanted functionality I can dig up if this is not an already supported function.&lt;br /&gt;Comments: &lt;p&gt;Oliman,&lt;br /&gt;I am closing this issue. Let us know if you have a reliable repro and we will investigate.&lt;br /&gt;ivo&lt;br /&gt;&lt;/p&gt;</description><author>ivom</author><pubDate>Thu, 10 Feb 2011 22:50:34 GMT</pubDate><guid isPermaLink="false">Closed Issue: OutOfProcessApplication [18170] 20110210105034P</guid></item><item><title>Closed Issue: Target App Gets Exception when Launched via AutomationHelpers.StartProcess [12712]</title><link>http://testapi.codeplex.com/workitem/12712</link><description>I was able to recreate a similar sample project based upon your sample project from scratch and run it successfully. &lt;br /&gt;However, when I tried to do this again for a larger project, it is not able to launch the target application due to the following error&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#39;InstInfo.exe&amp;#39; &amp;#40;Managed&amp;#41;&amp;#58; Loaded &amp;#39;C&amp;#58;&amp;#92;WINDOWS&amp;#92;assembly&amp;#92;GAC_32&amp;#92;mscorlib&amp;#92;2.0.0.0__b77a5c561934e089&amp;#92;mscorlib.dll&amp;#39;, Symbols loaded.&lt;br /&gt;&amp;#39;InstInfo.exe&amp;#39; &amp;#40;Managed&amp;#41;&amp;#58; Loaded &amp;#39;C&amp;#58;&amp;#92;NextGen&amp;#92;Inc1&amp;#92;Week3-TestingWpfApps&amp;#92;InstrumentInformatics&amp;#92;TestResults&amp;#92;pfeffjd_ADDEMAL030907 2009-02-27 14_44_22&amp;#92;Out&amp;#92;InstInfo.exe&amp;#39;, Symbols loaded.&lt;br /&gt;&amp;#39;InstInfo.exe&amp;#39; &amp;#40;Managed&amp;#41;&amp;#58; Loaded &amp;#39;C&amp;#58;&amp;#92;WINDOWS&amp;#92;assembly&amp;#92;GAC_MSIL&amp;#92;PresentationFramework&amp;#92;3.0.0.0__31bf3856ad364e35&amp;#92;PresentationFramework.dll&amp;#39;, Symbols loaded.&lt;br /&gt;&amp;#39;InstInfo.exe&amp;#39; &amp;#40;Managed&amp;#41;&amp;#58; Loaded &amp;#39;C&amp;#58;&amp;#92;WINDOWS&amp;#92;assembly&amp;#92;GAC_MSIL&amp;#92;WindowsBase&amp;#92;3.0.0.0__31bf3856ad364e35&amp;#92;WindowsBase.dll&amp;#39;, Symbols loaded.&lt;br /&gt;&amp;#39;InstInfo.exe&amp;#39; &amp;#40;Managed&amp;#41;&amp;#58; Loaded &amp;#39;C&amp;#58;&amp;#92;WINDOWS&amp;#92;assembly&amp;#92;GAC_MSIL&amp;#92;System&amp;#92;2.0.0.0__b77a5c561934e089&amp;#92;System.dll&amp;#39;, Symbols loaded.&lt;br /&gt;&amp;#39;InstInfo.exe&amp;#39; &amp;#40;Managed&amp;#41;&amp;#58; Loaded &amp;#39;C&amp;#58;&amp;#92;WINDOWS&amp;#92;assembly&amp;#92;GAC_32&amp;#92;PresentationCore&amp;#92;3.0.0.0__31bf3856ad364e35&amp;#92;PresentationCore.dll&amp;#39;, Symbols loaded.&lt;br /&gt;An unhandled exception of type &amp;#39;System.Windows.Markup.XamlParseException&amp;#39; occurred in PresentationFramework.dll&lt;br /&gt;&lt;br /&gt;Additional information&amp;#58;  Cannot find type &amp;#39;InstInfo.Shell&amp;#39;. The assembly used when compiling might be different than that used when loading and the type is missing.  Error in markup file &amp;#39;InstInfo&amp;#59;component&amp;#47;Shell.xaml&amp;#39; Line 1 Position 17.&lt;br /&gt;&lt;br /&gt;&amp;#39;InstInfo.exe&amp;#39; &amp;#40;Managed&amp;#41;&amp;#58; Loaded &amp;#39;C&amp;#58;&amp;#92;WINDOWS&amp;#92;assembly&amp;#92;GAC_MSIL&amp;#92;System.Configuration&amp;#92;2.0.0.0__b03f5f7f11d50a3a&amp;#92;System.Configuration.dll&amp;#39;, Symbols loaded.&lt;br /&gt;&amp;#39;InstInfo.exe&amp;#39; &amp;#40;Managed&amp;#41;&amp;#58; Loaded &amp;#39;C&amp;#58;&amp;#92;WINDOWS&amp;#92;assembly&amp;#92;GAC_MSIL&amp;#92;System.Xml&amp;#92;2.0.0.0__b77a5c561934e089&amp;#92;System.Xml.dll&amp;#39;, Symbols loaded.&lt;br /&gt;&lt;br /&gt;Can you provide advice on how to debug this&amp;#63; It cannot launch the test project &amp;#34;instInfo&amp;#34; from this line&amp;#58; &lt;br /&gt;&lt;br /&gt;            Process appProcess &amp;#61; AutomationHelpers.StartProcess&amp;#40;new ProcessStartInfo&amp;#40;&amp;#34;InstInfo.exe&amp;#34;&amp;#41;, out rootElement&amp;#41;&amp;#59; &lt;br /&gt;&lt;br /&gt;Note that InstInfo.Shell is the main StartupUri WPF window of the target application&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#60;Application x&amp;#58;Class&amp;#61;&amp;#34;InstInfo.App&amp;#34;&lt;br /&gt;    xmlns&amp;#61;&amp;#34;http&amp;#58;&amp;#47;&amp;#47;schemas.microsoft.com&amp;#47;winfx&amp;#47;2006&amp;#47;xaml&amp;#47;presentation&amp;#34;&lt;br /&gt;    xmlns&amp;#58;x&amp;#61;&amp;#34;http&amp;#58;&amp;#47;&amp;#47;schemas.microsoft.com&amp;#47;winfx&amp;#47;2006&amp;#47;xaml&amp;#34;&lt;br /&gt;    xmlns&amp;#58;Presenters&amp;#61;&amp;#34;clr-namespace&amp;#58;InstInfo.Presenters&amp;#34;&lt;br /&gt;    xmlns&amp;#58;Model&amp;#61;&amp;#34;clr-namespace&amp;#58;InstInfo.Model&amp;#34;&lt;br /&gt;    StartupUri&amp;#61;&amp;#34;Shell.xaml&amp;#34;&amp;#62;&lt;br /&gt;&lt;br /&gt;Also, I&amp;#39;m not sure if any of this is important, but it is a RibbonWinow&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#60;r&amp;#58;RibbonWindow x&amp;#58;Class&amp;#61;&amp;#34;InstInfo.Shell&amp;#34;&lt;br /&gt;    xmlns&amp;#61;&amp;#34;http&amp;#58;&amp;#47;&amp;#47;schemas.microsoft.com&amp;#47;winfx&amp;#47;2006&amp;#47;xaml&amp;#47;presentation&amp;#34;&lt;br /&gt;    xmlns&amp;#58;x&amp;#61;&amp;#34;http&amp;#58;&amp;#47;&amp;#47;schemas.microsoft.com&amp;#47;winfx&amp;#47;2006&amp;#47;xaml&amp;#34;&lt;br /&gt;    xmlns&amp;#58;r&amp;#61;&amp;#34;clr-namespace&amp;#58;Microsoft.Windows.Controls.Ribbon&amp;#59;assembly&amp;#61;RibbonControlsLibrary&amp;#34;&lt;br /&gt;    xmlns&amp;#58;me&amp;#61;&amp;#34;clr-namespace&amp;#58;InstInfo&amp;#34;&lt;br /&gt;    xmlns&amp;#58;uc&amp;#61;&amp;#34;clr-namespace&amp;#58;InstInfo.UserControls&amp;#34;&lt;br /&gt;    Title&amp;#61;&amp;#34;Target Test App&amp;#34;&lt;br /&gt;    WindowStartupLocation&amp;#61;&amp;#34;CenterScreen&amp;#34;&lt;br /&gt;    Background&amp;#61;&amp;#34;&amp;#123;DynamicResource WindowBackground&amp;#125;&amp;#34;&lt;br /&gt;    AutomationProperties.AutomationId&amp;#61;&amp;#34;autoShellWindow&amp;#34; &amp;#62;&lt;br /&gt;&lt;br /&gt;Note this same target process can be successfully launched through the VS2008 IDE or be double clicking on the InstInfo.exe located&lt;br /&gt;either in the test project or original target project bin&amp;#47;Debug directory&amp;#58;&lt;br /&gt;&lt;br /&gt;Here is the call stack when attaching to the failed target app process. &lt;br /&gt;&lt;br /&gt;&amp;#62;&amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Markup.XamlParseException.ThrowException&amp;#40;string message, System.Exception innerException, int lineNumber, int linePosition, System.Uri baseUri, System.Windows.Markup.XamlObjectIds currentXamlObjectIds, System.Windows.Markup.XamlObjectIds contextXamlObjectIds, System.Type objectType&amp;#41; &amp;#43; 0x1bf bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Markup.XamlParseException.ThrowException&amp;#40;System.Windows.Markup.ParserContext parserContext, int lineNumber, int linePosition, string message, System.Exception innerException&amp;#41; &amp;#43; 0x58 bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Markup.BamlRecordReader.ReadRecord&amp;#40;System.Windows.Markup.BamlRecord bamlRecord&amp;#41; &amp;#43; 0x75f bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Markup.BamlRecordReader.Read&amp;#40;bool singleRecord &amp;#61; false&amp;#41; &amp;#43; 0x1c bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment&amp;#40;&amp;#41; &amp;#43; 0xc9 bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Markup.TreeBuilder.Parse&amp;#40;&amp;#41; &amp;#43; 0xf bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Markup.XamlReader.LoadBaml&amp;#40;System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, object parent, bool closeStream&amp;#41; &amp;#43; 0xc7 bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Application.LoadBamlStreamWithSyncInfo&amp;#40;System.IO.Stream stream, System.Windows.Markup.ParserContext pc&amp;#41; &amp;#43; 0xb6 bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Application.LoadComponent&amp;#40;System.Uri resourceLocator, bool bSkipJournaledProperties&amp;#41; &amp;#43; 0xcf bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Application.DoStartup&amp;#40;&amp;#41; &amp;#43; 0xe4 bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Application..ctor.AnonymousMethod&amp;#40;object unused&amp;#41; &amp;#43; 0x36 bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.ExceptionWrapper.InternalRealCall&amp;#40;System.Delegate callback &amp;#61; &amp;#123;Method &amp;#61; &amp;#123;System.Object &amp;#60;.ctor&amp;#62;b__0&amp;#40;System.Object&amp;#41;&amp;#125;&amp;#125;, object args &amp;#61; null, bool isSingleParameter &amp;#61; true&amp;#41; &amp;#43; 0x8a bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.ExceptionWrapper.TryCatchWhen&amp;#40;object source &amp;#61; &amp;#123;System.Windows.Threading.Dispatcher&amp;#125;, System.Delegate callback, object args, bool isSingleParameter, System.Delegate catchHandler &amp;#61; null&amp;#41; &amp;#43; 0x4a bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.Dispatcher.WrappedInvoke&amp;#40;System.Delegate callback, object args, bool isSingleParameter, System.Delegate catchHandler&amp;#41; &amp;#43; 0x44 bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.DispatcherOperation.InvokeImpl&amp;#40;&amp;#41; &amp;#43; 0x5d bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext&amp;#40;object state&amp;#41; &amp;#43; 0x38 bytes&amp;#9;&lt;br /&gt; &amp;#9;mscorlib.dll&amp;#33;System.Threading.ExecutionContext.runTryCode&amp;#40;object userData&amp;#41; &amp;#43; 0x51 bytes&amp;#9;&lt;br /&gt; &amp;#9;&amp;#91;Native to Managed Transition&amp;#93;&amp;#9;&lt;br /&gt; &amp;#9;&amp;#91;Managed to Native Transition&amp;#93;&amp;#9;&lt;br /&gt; &amp;#9;mscorlib.dll&amp;#33;System.Threading.ExecutionContext.RunInternal&amp;#40;System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state&amp;#41; &amp;#43; 0x67 bytes&amp;#9;&lt;br /&gt; &amp;#9;mscorlib.dll&amp;#33;System.Threading.ExecutionContext.Run&amp;#40;System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state&amp;#41; &amp;#43; 0x45 bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.DispatcherOperation.Invoke&amp;#40;&amp;#41; &amp;#43; 0x63 bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.Dispatcher.ProcessQueue&amp;#40;&amp;#41; &amp;#43; 0x127 bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.Dispatcher.WndProcHook&amp;#40;System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled&amp;#41; &amp;#43; 0x63 bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;MS.Win32.HwndWrapper.WndProc&amp;#40;System.IntPtr hwnd &amp;#61; 529260, int msg &amp;#61; 49785, System.IntPtr wParam &amp;#61; 0, System.IntPtr lParam &amp;#61; 0, ref bool handled &amp;#61; false&amp;#41; &amp;#43; 0xbe bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;MS.Win32.HwndSubclass.DispatcherCallbackOperation&amp;#40;object o&amp;#41; &amp;#43; 0x7a bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.ExceptionWrapper.InternalRealCall&amp;#40;System.Delegate callback &amp;#61; &amp;#123;Method &amp;#61; &amp;#123;System.Object DispatcherCallbackOperation&amp;#40;System.Object&amp;#41;&amp;#125;&amp;#125;, object args &amp;#61; &amp;#123;MS.Win32.HwndSubclass.DispatcherOperationCallbackParameter&amp;#125;, bool isSingleParameter &amp;#61; true&amp;#41; &amp;#43; 0x8a bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.ExceptionWrapper.TryCatchWhen&amp;#40;object source &amp;#61; &amp;#123;System.Windows.Threading.Dispatcher&amp;#125;, System.Delegate callback, object args, bool isSingleParameter, System.Delegate catchHandler &amp;#61; null&amp;#41; &amp;#43; 0x4a bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.Dispatcher.WrappedInvoke&amp;#40;System.Delegate callback, object args, bool isSingleParameter, System.Delegate catchHandler&amp;#41; &amp;#43; 0x44 bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.Dispatcher.InvokeImpl&amp;#40;System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, bool isSingleParameter&amp;#41; &amp;#43; 0x91 bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.Dispatcher.Invoke&amp;#40;System.Windows.Threading.DispatcherPriority priority, System.Delegate method, object arg&amp;#41; &amp;#43; 0x40 bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;MS.Win32.HwndSubclass.SubclassWndProc&amp;#40;System.IntPtr hwnd &amp;#61; 529260, int msg &amp;#61; 49785, System.IntPtr wParam &amp;#61; 0, System.IntPtr lParam &amp;#61; 0&amp;#41; &amp;#43; 0xdc bytes&amp;#9;&lt;br /&gt; &amp;#9;&amp;#91;Native to Managed Transition&amp;#93;&amp;#9;&lt;br /&gt; &amp;#9;&amp;#91;Managed to Native Transition&amp;#93;&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.Dispatcher.PushFrameImpl&amp;#40;System.Windows.Threading.DispatcherFrame frame &amp;#61; &amp;#123;System.Windows.Threading.DispatcherFrame&amp;#125;&amp;#41; &amp;#43; 0xc7 bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.Dispatcher.PushFrame&amp;#40;System.Windows.Threading.DispatcherFrame frame&amp;#41; &amp;#43; 0x49 bytes&amp;#9;&lt;br /&gt; &amp;#9;WindowsBase.dll&amp;#33;System.Windows.Threading.Dispatcher.Run&amp;#40;&amp;#41; &amp;#43; 0x4c bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Application.RunDispatcher&amp;#40;object ignore&amp;#41; &amp;#43; 0x1e bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Application.RunInternal&amp;#40;System.Windows.Window window&amp;#41; &amp;#43; 0x6f bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Application.Run&amp;#40;System.Windows.Window window&amp;#41; &amp;#43; 0x26 bytes&amp;#9;&lt;br /&gt; &amp;#9;PresentationFramework.dll&amp;#33;System.Windows.Application.Run&amp;#40;&amp;#41; &amp;#43; 0x19 bytes&amp;#9;&lt;br /&gt; &amp;#9;InstInfo.exe&amp;#33;InstInfo.App.Main&amp;#40;&amp;#41; &amp;#43; 0x4c bytes&amp;#9;C&amp;#35;&lt;br /&gt;Comments: &lt;p&gt;Jon,&lt;br /&gt;I am closing this issue.&lt;br /&gt;Please, reactivate if you have a reliable repro and we will investigate.&lt;/p&gt;&lt;p&gt;Thanks&amp;#33;&lt;br /&gt;Ivo&lt;br /&gt;&lt;/p&gt;</description><author>ivom</author><pubDate>Thu, 10 Feb 2011 22:49:55 GMT</pubDate><guid isPermaLink="false">Closed Issue: Target App Gets Exception when Launched via AutomationHelpers.StartProcess [12712] 20110210104955P</guid></item><item><title>Closed Issue: CommandLineParser Exception [13638]</title><link>http://testapi.codeplex.com/workitem/13638</link><description>var cmd &amp;#61; CommandLineDictionary.FromArguments&amp;#40;Environment.GetCommandLineArgs&amp;#40;&amp;#41;&amp;#41;&amp;#59; throws following exception&amp;#58;&lt;br /&gt;&lt;br /&gt;System.ArgumentException was unhandled&lt;br /&gt;  Message&amp;#61;&amp;#34;Unsupported value line argument format.&amp;#92;r&amp;#92;nParametername&amp;#58; D&amp;#58;&amp;#92;&amp;#92;_Workspace&amp;#92;&amp;#92;Projects&amp;#92;&amp;#92;TheGamesFramework&amp;#92;&amp;#92;bin&amp;#92;&amp;#92;x86&amp;#92;&amp;#92;Debug&amp;#92;&amp;#92;TheGamesFramework.Engine.vshost.exe&amp;#34;&lt;br /&gt;  Source&amp;#61;&amp;#34;FrameworkUtilities&amp;#34;&lt;br /&gt;  ParamName&amp;#61;&amp;#34;D&amp;#58;&amp;#92;&amp;#92;_Workspace&amp;#92;&amp;#92;Projects&amp;#92;&amp;#92;TheGamesFramework&amp;#92;&amp;#92;bin&amp;#92;&amp;#92;x86&amp;#92;&amp;#92;Debug&amp;#92;&amp;#92;TheGamesFramework.Engine.vshost.exe&amp;#34;&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       bei Microsoft.Test.CommandLineDictionary.AddArgument&amp;#40;String argument&amp;#41; in D&amp;#58;&amp;#92;Downloads&amp;#92;Development&amp;#92;Libs&amp;#92;TestApi v.0.2&amp;#92;Sources&amp;#92;FrameworkUtilities&amp;#92;CommandLineDictionary.cs&amp;#58;Zeile 189.&lt;br /&gt;       bei Microsoft.Test.CommandLineDictionary.FromArguments&amp;#40;IEnumerable&amp;#96;1 arguments, Char keyCharacter, Char valueCharacter&amp;#41; in D&amp;#58;&amp;#92;Downloads&amp;#92;Development&amp;#92;Libs&amp;#92;TestApi v.0.2&amp;#92;Sources&amp;#92;FrameworkUtilities&amp;#92;CommandLineDictionary.cs&amp;#58;Zeile 91.&lt;br /&gt;       bei Microsoft.Test.CommandLineDictionary.FromArguments&amp;#40;IEnumerable&amp;#96;1 arguments&amp;#41; in D&amp;#58;&amp;#92;Downloads&amp;#92;Development&amp;#92;Libs&amp;#92;TestApi v.0.2&amp;#92;Sources&amp;#92;FrameworkUtilities&amp;#92;CommandLineDictionary.cs&amp;#58;Zeile 71.&lt;br /&gt;       bei TheGamesFramework.Core.Managers.ConfigManager.ProcessCommandArgs&amp;#40;&amp;#41; in D&amp;#58;&amp;#92;_Workspace&amp;#92;Projects&amp;#92;TheGamesFramework&amp;#92;Core&amp;#92;Managers&amp;#92;ConfigManager.cs&amp;#58;Zeile 59.&lt;br /&gt;       bei TheGamesFramework.Core.Managers.ConfigManager.LoadConfiguration&amp;#40;Boolean processCommandArgs&amp;#41; in D&amp;#58;&amp;#92;_Workspace&amp;#92;Projects&amp;#92;TheGamesFramework&amp;#92;Core&amp;#92;Managers&amp;#92;ConfigManager.cs&amp;#58;Zeile 174.&lt;br /&gt;       bei TheGamesFramework.Engine.MainWindow..ctor&amp;#40;&amp;#41; in D&amp;#58;&amp;#92;_Workspace&amp;#92;Projects&amp;#92;TheGamesFramework&amp;#92;Engine&amp;#92;MainWindow.xaml.cs&amp;#58;Zeile 37.&lt;br /&gt;       bei TheGamesFramework.Engine.App.StartupClient&amp;#40;StartupEventArgs e&amp;#41; in D&amp;#58;&amp;#92;_Workspace&amp;#92;Projects&amp;#92;TheGamesFramework&amp;#92;Engine&amp;#92;App.xaml.cs&amp;#58;Zeile 65.&lt;br /&gt;       bei TheGamesFramework.Engine.App.OnStartup&amp;#40;StartupEventArgs e&amp;#41; in D&amp;#58;&amp;#92;_Workspace&amp;#92;Projects&amp;#92;TheGamesFramework&amp;#92;Engine&amp;#92;App.xaml.cs&amp;#58;Zeile 42.&lt;br /&gt;       bei System.Windows.Application.&amp;#60;.ctor&amp;#62;b__0&amp;#40;Object unused&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.ExceptionWrapper.InternalRealCall&amp;#40;Delegate callback, Object args, Boolean isSingleParameter&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen&amp;#40;Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.Dispatcher.WrappedInvoke&amp;#40;Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.DispatcherOperation.InvokeImpl&amp;#40;&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext&amp;#40;Object state&amp;#41;&lt;br /&gt;       bei System.Threading.ExecutionContext.runTryCode&amp;#40;Object userData&amp;#41;&lt;br /&gt;       bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup&amp;#40;TryCode code, CleanupCode backoutCode, Object userData&amp;#41;&lt;br /&gt;       bei System.Threading.ExecutionContext.RunInternal&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state&amp;#41;&lt;br /&gt;       bei System.Threading.ExecutionContext.Run&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.DispatcherOperation.Invoke&amp;#40;&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.Dispatcher.ProcessQueue&amp;#40;&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.Dispatcher.WndProcHook&amp;#40;IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;#38; handled&amp;#41;&lt;br /&gt;       bei MS.Win32.HwndWrapper.WndProc&amp;#40;IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;#38; handled&amp;#41;&lt;br /&gt;       bei MS.Win32.HwndSubclass.DispatcherCallbackOperation&amp;#40;Object o&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.ExceptionWrapper.InternalRealCall&amp;#40;Delegate callback, Object args, Boolean isSingleParameter&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen&amp;#40;Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.Dispatcher.WrappedInvoke&amp;#40;Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.Dispatcher.InvokeImpl&amp;#40;DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.Dispatcher.Invoke&amp;#40;DispatcherPriority priority, Delegate method, Object arg&amp;#41;&lt;br /&gt;       bei MS.Win32.HwndSubclass.SubclassWndProc&amp;#40;IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam&amp;#41;&lt;br /&gt;       bei MS.Win32.UnsafeNativeMethods.DispatchMessage&amp;#40;MSG&amp;#38; msg&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.Dispatcher.PushFrameImpl&amp;#40;DispatcherFrame frame&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.Dispatcher.PushFrame&amp;#40;DispatcherFrame frame&amp;#41;&lt;br /&gt;       bei System.Windows.Threading.Dispatcher.Run&amp;#40;&amp;#41;&lt;br /&gt;       bei System.Windows.Application.RunDispatcher&amp;#40;Object ignore&amp;#41;&lt;br /&gt;       bei System.Windows.Application.RunInternal&amp;#40;Window window&amp;#41;&lt;br /&gt;       bei System.Windows.Application.Run&amp;#40;Window window&amp;#41;&lt;br /&gt;       bei System.Windows.Application.Run&amp;#40;&amp;#41;&lt;br /&gt;       bei TheGamesFramework.Engine.App.Main&amp;#40;&amp;#41; in D&amp;#58;&amp;#92;_Workspace&amp;#92;Projects&amp;#92;TheGamesFramework&amp;#92;Engine&amp;#92;obj&amp;#92;x86&amp;#92;Debug&amp;#92;App.g.cs&amp;#58;Zeile 0.&lt;br /&gt;       bei System.AppDomain._nExecuteAssembly&amp;#40;Assembly assembly, String&amp;#91;&amp;#93; args&amp;#41;&lt;br /&gt;       bei System.AppDomain.ExecuteAssembly&amp;#40;String assemblyFile, Evidence assemblySecurity, String&amp;#91;&amp;#93; args&amp;#41;&lt;br /&gt;       bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly&amp;#40;&amp;#41;&lt;br /&gt;       bei System.Threading.ThreadHelper.ThreadStart_Context&amp;#40;Object state&amp;#41;&lt;br /&gt;       bei System.Threading.ExecutionContext.Run&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state&amp;#41;&lt;br /&gt;       bei System.Threading.ThreadHelper.ThreadStart&amp;#40;&amp;#41;&lt;br /&gt;  InnerException&amp;#58;&lt;br /&gt;Comments: &lt;p&gt;Overlord,&lt;br /&gt;I am closing this issue. Please reactivate if you still need help.&lt;br /&gt;ivo&lt;br /&gt;&lt;/p&gt;</description><author>ivom</author><pubDate>Thu, 10 Feb 2011 22:49:11 GMT</pubDate><guid isPermaLink="false">Closed Issue: CommandLineParser Exception [13638] 20110210104911P</guid></item><item><title>Closed Issue: In-Process control, start application ==&gt; app.MainWindow = null [13500]</title><link>http://testapi.codeplex.com/workitem/13500</link><description>Hello, &lt;br /&gt;Could you please clarify following about In-Process control&amp;#63;&lt;br /&gt;I&amp;#39;m trying to start my application using EXAMPLE &amp;#35;2 from the Concepts.doc, so my code is&amp;#58;&lt;br /&gt;&lt;br /&gt;---------------------------&lt;br /&gt; InProcessSettings ips &amp;#61; new InProcessSettings&amp;#40;&amp;#34;D&amp;#58;&amp;#92;&amp;#92;prj&amp;#92;&amp;#92;TheApplication.exe&amp;#34;,&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#34;TheApplication&amp;#34;,&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;OnMainWindowCreated,&amp;#9;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;OnExit&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt; AutomatedApplication a &amp;#61; AutomatedApplication.Start&amp;#40;ips&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;---------------------------&lt;br /&gt;Upon execution I get a.MainWindow &amp;#61; null.&lt;br /&gt;So, the question is - am I missing something for starting target application using in-process control&amp;#63;&lt;br /&gt;Comments: &lt;p&gt;Closing, as the issue has been resolved.&lt;/p&gt;</description><author>ivom</author><pubDate>Thu, 10 Feb 2011 22:48:30 GMT</pubDate><guid isPermaLink="false">Closed Issue: In-Process control, start application ==&gt; app.MainWindow = null [13500] 20110210104830P</guid></item><item><title>Closed Issue: FindElementsByName does not work... [12168]</title><link>http://testapi.codeplex.com/workitem/12168</link><description>see the below code --&lt;br /&gt;            AutomationElement rootElement&amp;#59;&lt;br /&gt;            Process appProcess &amp;#61; AutomationHelpers.StartProcess&amp;#40;new ProcessStartInfo&amp;#40;&amp;#34;SampleApp.exe&amp;#34;&amp;#41;, out rootElement&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            AutomationElement inputTextBox &amp;#61; AutomationUtilities.FindElementsById&amp;#40;rootElement, &amp;#34;inputTextBox&amp;#34;&amp;#41;&amp;#91;0&amp;#93;&amp;#59;&lt;br /&gt;            AutomationElement inputTextBox &amp;#61; AutomationUtilities.FindElementsByName&amp;#40;rootElement, &amp;#34;inputTextBox&amp;#34;&amp;#41;&amp;#91;0&amp;#93;&amp;#59; ---&amp;#62; line of failure&lt;br /&gt;&lt;br /&gt;FindElementsByName&amp;#40;&amp;#41; seems to fails&lt;br /&gt;Comments: &lt;p&gt;Prakash,&lt;br /&gt;I am closing this issue as I believe it has been resolved &amp;#40;see Peter&amp;#39;s comment&amp;#41;.&lt;br /&gt;Please reactivate it if that is not the case.&lt;br /&gt;Ivo&lt;/p&gt;</description><author>ivom</author><pubDate>Thu, 10 Feb 2011 22:47:31 GMT</pubDate><guid isPermaLink="false">Closed Issue: FindElementsByName does not work... [12168] 20110210104731P</guid></item><item><title>Closed Issue: Run NUnit sample from v0.3 and v0.4 ==&gt; FailedSystem.InvalidOperationException: No process is associated with this object. [13749]</title><link>http://testapi.codeplex.com/workitem/13749</link><description>TestAPI 0.3, NUnit Sample.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m getting following upon an attempt to run VerifyWindowAppearance&amp;#40;&amp;#41; test &amp;#58; &lt;br /&gt;&lt;br /&gt;VisualVerificationTests.VerifyWindowAppearance &amp;#58; FailedSystem.InvalidOperationException&amp;#58; No process is associated with this object.&lt;br /&gt;at System.Diagnostics.Process.EnsureState&amp;#40;State state&amp;#41;&lt;br /&gt;at System.Diagnostics.Process.get_HasExited&amp;#40;&amp;#41;&lt;br /&gt;at Microsoft.Test.ApplicationControl.UIAutomationApplicationImpl.Close&amp;#40;&amp;#41; in c&amp;#58;&amp;#92;dd&amp;#92;WPF&amp;#92;src&amp;#92;wpf&amp;#92;test&amp;#92;Infra&amp;#92;TestApi&amp;#92;TestApiWpf&amp;#92;Code&amp;#92;ApplicationControl&amp;#92;UIAutomationApplicationImpl.cs&amp;#58; line 185&lt;br /&gt;at Microsoft.Test.ApplicationControl.AutomatedApplication.Close&amp;#40;&amp;#41; in c&amp;#58;&amp;#92;dd&amp;#92;WPF&amp;#92;src&amp;#92;wpf&amp;#92;test&amp;#92;Infra&amp;#92;TestApi&amp;#92;TestApiCore&amp;#92;Code&amp;#92;ApplicationControl&amp;#92;AutomatedApplication.cs&amp;#58; line 183&lt;br /&gt;at VisualVerificationTests.VerifyWindowAppearance&amp;#40;&amp;#41; in VisualVerificationTests.cs&amp;#58; line 76 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note&amp;#58; the application is not closed.&lt;br /&gt;Comments: &lt;p&gt;NLord,&lt;br /&gt;Is this still an issue&amp;#63; If so, please rectivate.&lt;br /&gt;Ivo&lt;/p&gt;</description><author>ivom</author><pubDate>Thu, 10 Feb 2011 22:46:36 GMT</pubDate><guid isPermaLink="false">Closed Issue: Run NUnit sample from v0.3 and v0.4 ==&gt; FailedSystem.InvalidOperationException: No process is associated with this object. [13749] 20110210104636P</guid></item><item><title>Commented Issue: OutOfProcessApplication [18170]</title><link>http://testapi.codeplex.com/workitem/18170</link><description>I&amp;#8217;m running into some exception&amp;#47;limitations using the OutOfProcessApplication class.&lt;br /&gt;&lt;br /&gt;Basically I just need a way to send command arguments to an outOfProcessApplication even if I have already started the application.&lt;br /&gt;&lt;br /&gt;When I initially start the outOfProcessApplication  I can set the ProcessStartInfo to contain the command arguments I want to start the process with, but if I try and change the arguments and call Start&amp;#40;&amp;#41; again then I get an exception that the process is already started. This makes sense, but it does not work how the Diagnostics.Process class works, which allows you to call Start&amp;#40;&amp;#41; even on an already running process and it just sends the command line parameters to the application.&lt;br /&gt;&lt;br /&gt;Is there a way to send command line arguments to an already running outOfProcessApplication&amp;#63;&lt;br /&gt;&lt;br /&gt;I have code from an older project which wraps Process.Start&amp;#40;&amp;#41; to add my wanted functionality I can dig up if this is not an already supported function.&lt;br /&gt;Comments: ** Comment from web user: ivom ** &lt;p&gt;Is this still an issue&amp;#63;&lt;/p&gt;</description><author>ivom</author><pubDate>Thu, 10 Feb 2011 22:43:21 GMT</pubDate><guid isPermaLink="false">Commented Issue: OutOfProcessApplication [18170] 20110210104321P</guid></item><item><title>Closed Issue: TestAPI 0.4, getting 'System.InvalidOperationException' upon calling AutomatedApplication.Close() [15264]</title><link>http://testapi.codeplex.com/workitem/15264</link><description>Hello,&lt;br /&gt;the issue looks similar to http&amp;#58;&amp;#47;&amp;#47;testapi.codeplex.com&amp;#47;WorkItem&amp;#47;View.aspx&amp;#63;WorkItemId&amp;#61;13749 but has its own nuances&amp;#58;&lt;br /&gt;&lt;br /&gt;We have a set of tests built over TestAPI v0.2, each test has tear-down method which calls App.Close&amp;#40;&amp;#41;, where &amp;#39;App&amp;#39; is OutOfProcess AutomatedApplication.&lt;br /&gt;After switching to TestAPI v0.4 We&amp;#39;ve started to get following upon calling App.Close&amp;#40;&amp;#41;&amp;#58; &lt;br /&gt;&lt;br /&gt;System.InvalidOperationException&amp;#58; Exception of type &amp;#39;System.InvalidOperationException&amp;#39; was thrown.&lt;br /&gt;at System.Windows.Automation.AutomationElement.GetCurrentPattern&amp;#40;AutomationPattern pattern&amp;#41;&lt;br /&gt;at Microsoft.Test.ApplicationControl.UIAutomationApplicationImpl.CloseProcessWorker&amp;#40;&amp;#41; in c&amp;#58;&amp;#92;dd&amp;#92;WPF_1&amp;#92;src&amp;#92;wpf&amp;#92;test&amp;#92;Infra&amp;#92;TestApi&amp;#92;TestApiWpf&amp;#92;Code&amp;#92;ApplicationControl&amp;#92;UIAutomationApplicationImpl.cs&amp;#58; line 250&lt;br /&gt;at System.Threading.ThreadHelper.ThreadStart_Context&amp;#40;Object state&amp;#41;&lt;br /&gt;at System.Threading.ExecutionContext.Run&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state&amp;#41;&lt;br /&gt;at System.Threading.ThreadHelper.ThreadStart&amp;#40;&amp;#41; &lt;br /&gt;&lt;br /&gt;Note&amp;#58; The work-around suggested in http&amp;#58;&amp;#47;&amp;#47;testapi.codeplex.com&amp;#47;WorkItem&amp;#47;View.aspx&amp;#63;WorkItemId&amp;#61;13749 &amp;#40;calling sampleAppPath.Replace&amp;#40;&amp;#34;file&amp;#58;&amp;#92;&amp;#92;&amp;#34;, string.Empty&amp;#41;&amp;#41; doesn&amp;#39;t work for our set of tests.&lt;br /&gt;&lt;br /&gt;The issue is quite painful since we&amp;#39;d like to engage new features in TestAPI but we can&amp;#39;t due to the issue.&lt;br /&gt;Thank you in advance.&lt;br /&gt;Comments: &lt;p&gt;NLord,&lt;br /&gt;I am closing this issue as it appears to no longer repro.&lt;br /&gt;Please, reactivate if you have a reliable repro and we will investigate.&lt;/p&gt;&lt;p&gt;Thanks&amp;#33;&lt;br /&gt;Ivo&lt;br /&gt;&lt;/p&gt;</description><author>ivom</author><pubDate>Thu, 10 Feb 2011 22:42:23 GMT</pubDate><guid isPermaLink="false">Closed Issue: TestAPI 0.4, getting 'System.InvalidOperationException' upon calling AutomatedApplication.Close() [15264] 20110210104223P</guid></item><item><title>Closed Issue: EntryPointNotFoundException when debugging on AutomatedApplication [13304]</title><link>http://testapi.codeplex.com/workitem/13304</link><description>I have been trying to debug into a test that I have that simply launches a new WPF Window. I am using the OutOfProcessSettings on the AutomatedApplication and calling its Start method. At this point I get an EntryPointNotFoundException, with a message of &amp;#34;Unable to find an entry point named &amp;#39;nonexistent_dummy&amp;#39; in DLL &amp;#39;MSVCR80.dll&amp;#39;.&amp;#34;&lt;br /&gt;&lt;br /&gt;I am running Vista 64, VS 2008 SP1, .Net Framework 3.5 SP1&lt;br /&gt;&lt;br /&gt;Can someone suggest some pointers&amp;#63; Without debugging ability this awesome library becomes completely unusable for my team.&lt;br /&gt;&lt;br /&gt;Thanks in advance.&lt;br /&gt;Comments: &lt;p&gt;Closing due to no traction. &lt;br /&gt;Pavan, please re-activate the issue if you still see it.&lt;/p&gt;</description><author>ivom</author><pubDate>Thu, 10 Feb 2011 22:41:09 GMT</pubDate><guid isPermaLink="false">Closed Issue: EntryPointNotFoundException when debugging on AutomatedApplication [13304] 20110210104109P</guid></item><item><title>Closed Issue: Use System.Windows Geometry types, rather than those from System.Drawing [13168]</title><link>http://testapi.codeplex.com/workitem/13168</link><description>The UIAutomation api uses System.Windows geometry types &amp;#40;For example, AutomationElementInformation.BoundingRectangle returns a System.Windows.Rect&amp;#41;. For consistency then,  methods like Mouse.MoveTo &amp;#40;contained in the tellingly-named assembly WpfUtilities&amp;#41; should surely be using System.Windows.Point rather than System.Drawing.Point&amp;#63;&lt;br /&gt;Comments: &lt;p&gt;Peter is right. &lt;br /&gt;The goal was to provide a &amp;#34;lowest common denominator&amp;#34; solution and that on Windows turned out to be classic Win32 screen coordinates. Otherwise, we would have introduced a dependency on WPF structures, which are not necessarily present on some machines.&lt;/p&gt;</description><author>ivom</author><pubDate>Thu, 10 Feb 2011 22:02:22 GMT</pubDate><guid isPermaLink="false">Closed Issue: Use System.Windows Geometry types, rather than those from System.Drawing [13168] 20110210100222P</guid></item><item><title>Closed Issue: CommandLineParser cannot handle Application path [13968]</title><link>http://testapi.codeplex.com/workitem/13968</link><description>The commandline parser cannot handle the first argument when Environment.GetCommandLineArgs&amp;#40;&amp;#41; is used, which is always the application path or String.Empty. It always throws an exception even without any arguments supplied by the user.&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;msdn.microsoft.com&amp;#47;en-us&amp;#47;library&amp;#47;system.environment.getcommandlineargs.aspx See Remarks.&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>ivom</author><pubDate>Thu, 10 Feb 2011 15:48:43 GMT</pubDate><guid isPermaLink="false">Closed Issue: CommandLineParser cannot handle Application path [13968] 20110210034843P</guid></item><item><title>Closed Issue: v0.4, Can't enter Cyrillic/Japanese text into an edit box. [18042]</title><link>http://testapi.codeplex.com/workitem/18042</link><description>Hello, I&amp;#39;m using following mthod for typing a value into an edit box&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;public void TypeText&amp;#40;string inputText&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;AutomationElement.SetFocus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;Keyboard.Type&amp;#40;inputText&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;it works for numerics and Latin characters, but invoking&lt;br /&gt;&lt;br /&gt;TypeText&amp;#40;&amp;#34;ФЫВА&amp;#34;&amp;#41; or TypeText&amp;#40;&amp;#34;十&amp;#34;&amp;#41; doesn&amp;#39;t, the field-under-test is not populated. &lt;br /&gt;&lt;br /&gt;Looks like VkKeyScan&amp;#40;char ch&amp;#41; works only with Latin. &lt;br /&gt;Are there any work-arounds&amp;#63;&lt;br /&gt;Comments: &lt;p&gt;TestApi 0.6 now supports input injection of non-ascii strings.&lt;/p&gt;</description><author>ivom</author><pubDate>Thu, 10 Feb 2011 15:45:45 GMT</pubDate><guid isPermaLink="false">Closed Issue: v0.4, Can't enter Cyrillic/Japanese text into an edit box. [18042] 20110210034545P</guid></item><item><title>Commented Issue: v0.4, Can't enter Cyrillic/Japanese text into an edit box. [18042]</title><link>http://testapi.codeplex.com/workitem/18042</link><description>Hello, I&amp;#39;m using following mthod for typing a value into an edit box&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;public void TypeText&amp;#40;string inputText&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;AutomationElement.SetFocus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;Keyboard.Type&amp;#40;inputText&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;it works for numerics and Latin characters, but invoking&lt;br /&gt;&lt;br /&gt;TypeText&amp;#40;&amp;#34;&amp;#1060;&amp;#1067;&amp;#1042;&amp;#1040;&amp;#34;&amp;#41; or TypeText&amp;#40;&amp;#34;&amp;#21313;&amp;#34;&amp;#41; doesn&amp;#39;t, the field-under-test is not populated. &lt;br /&gt;&lt;br /&gt;Looks like VkKeyScan&amp;#40;char ch&amp;#41; works only with Latin. &lt;br /&gt;Are there any work-arounds&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: ivom ** &lt;p&gt;Btw, just to close down this thread, we have implemented support for non-ASCII characters and will release this support with the next version of TestApi.&lt;br /&gt;Ivo&lt;/p&gt;</description><author>ivom</author><pubDate>Wed, 11 Aug 2010 16:53:45 GMT</pubDate><guid isPermaLink="false">Commented Issue: v0.4, Can't enter Cyrillic/Japanese text into an edit box. [18042] 20100811045345P</guid></item><item><title>Created Issue: OutOfProcessApplication [18170]</title><link>http://testapi.codeplex.com/workitem/18170</link><description>I&amp;#8217;m running into some exception&amp;#47;limitations using the OutOfProcessApplication class.&lt;br /&gt;&lt;br /&gt;Basically I just need a way to send command arguments to an outOfProcessApplication even if I have already started the application.&lt;br /&gt;&lt;br /&gt;When I initially start the outOfProcessApplication  I can set the ProcessStartInfo to contain the command arguments I want to start the process with, but if I try and change the arguments and call Start&amp;#40;&amp;#41; again then I get an exception that the process is already started. This makes sense, but it does not work how the Diagnostics.Process class works, which allows you to call Start&amp;#40;&amp;#41; even on an already running process and it just sends the command line parameters to the application.&lt;br /&gt;&lt;br /&gt;Is there a way to send command line arguments to an already running outOfProcessApplication&amp;#63;&lt;br /&gt;&lt;br /&gt;I have code from an older project which wraps Process.Start&amp;#40;&amp;#41; to add my wanted functionality I can dig up if this is not an already supported function.&lt;br /&gt;</description><author>Oliman</author><pubDate>Thu, 08 Jul 2010 21:00:57 GMT</pubDate><guid isPermaLink="false">Created Issue: OutOfProcessApplication [18170] 20100708090057P</guid></item><item><title>Created Issue: v0.4, Can't enter Cyrillic/Japanese text into an edit box. [18042]</title><link>http://testapi.codeplex.com/workitem/18042</link><description>Hello, I&amp;#39;m using following mthod for typing a value into an edit box&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;public void TypeText&amp;#40;string inputText&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;AutomationElement.SetFocus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;Keyboard.Type&amp;#40;inputText&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;it works for numerics and Latin characters, but invoking&lt;br /&gt;&lt;br /&gt;TypeText&amp;#40;&amp;#34;&amp;#1060;&amp;#1067;&amp;#1042;&amp;#1040;&amp;#34;&amp;#41; or TypeText&amp;#40;&amp;#34;&amp;#21313;&amp;#34;&amp;#41; doesn&amp;#39;t, the field-under-test is not populated. &lt;br /&gt;&lt;br /&gt;Looks like VkKeyScan&amp;#40;char ch&amp;#41; works only with Latin. &lt;br /&gt;Are there any work-arounds&amp;#63;&lt;br /&gt;</description><author>NLord</author><pubDate>Tue, 22 Jun 2010 10:06:32 GMT</pubDate><guid isPermaLink="false">Created Issue: v0.4, Can't enter Cyrillic/Japanese text into an edit box. [18042] 20100622100632A</guid></item></channel></rss>