DialogPlayback: DialogMonitor.Start() : Beginning monitoring for dialogs from the set {}.
Framework: InternetExplorerActions.LaunchNewBrowserInstance() : Process launched (ID=2612, Path="C:\Program Files (x86)\Internet Explorer\iexplore.exe", Arguments="-nomerge about:blank").
UIAutomation: AutomationExtensions.AddAutomationEventHandler() : Added a(n) WindowPatternIdentifiers.WindowOpenedProperty handler on element System.Windows.Automation.AutomationElement scope Descendants.
Framework: InternetExplorerActions.LaunchNewBrowserInstance() : Attempting to attach on IE frame (HWND=66614)...
DialogPlayback: DialogMonitor.AutomationEvent_OnWindowOpened() : New window detected, but not considered a dialog (Text = "Windows Internet Explorer", ClassName = "IEFrame").
Framework: Connector.Start() : Process launched (ID=3100, Path="C:\Windows\SysWOW64\rundll32.exe", Arguments="ArtOfTest.Connector.dll,AttachToWindowEntryPoint 132206").
Framework: Connector.Start() : Process exited (ID=3100, ExitCode=0, Path="C:\Windows\SysWOW64\rundll32.exe", Arguments="ArtOfTest.Connector.dll,AttachToWindowEntryPoint 132206").
Framework: InternetExplorerActions.LaunchNewBrowserInstance() : Process "QTAgent32" (ID=1936) is assumed to host the controller.
Framework: Connector.InjectCode() : ------- Function Start -------
Framework: Connector.InjectCode() : Connection string: C:\Windows\assembly\GAC_MSIL\ArtOfTest.InternetExplorer\2011.2.1413.0__5339893a7cefe4d6\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?1936
Framework: InternetExplorerActions.WaitForDocument() : Attempting to get IHTMLDocument2 from Internet Explorer HWND 132206 on another thread...
Framework: <>c__DisplayClasse.<WaitForDocument>b__7() : Attempting to get document from window handle
Framework: InternetExplorerActions.WaitForDocument() : IHTMLDocument2 successfully retrieved.
Framework: Connector.InjectCode() : Sending WM_COPYDATA to HWND 132206 (lpData = "C:\Windows\assembly\GAC_MSIL\ArtOfTest.InternetExplorer\2011.2.1413.0__5339893a7cefe4d6\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?1936")...
Framework: Connector.InjectCode() : Returned from sending WM_COPYDATA (LRESULT=0, GetLastError()=ERROR_ALREADY_EXISTS).
Framework: Connector.InjectCode() : ------- Function End -------
Framework: BrowserProvisioner.EndService() : Connecting to the provisioning pipe "Pipe.ArtOfTest.WebAii.BrowserProvisioner_696317534" in order to unblock and eventually terminate it...
Framework: BrowserProvisioner.EndService() : Provisioning pipe connected.
Framework: BrowserProvisioner.ServiceThread() : A new client has connected to the provisioning pipe but this will be treated as a termination cue.
Framework: BrowserProvisioner.EndService() : Provisioning thread terminated.
DialogPlayback: DialogMonitor.Stop() : Dialog monitoring is being halted.
TraceLog from passed session (FireFox 3.6):
[03/16 10:38:43,QTAgent32.exe(2628:13)] First trace message from process 2628: "c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\QTAgent32.exe" /agentKey 2313be3d-37b0-43f1-8128-8c75e6338426 /hostProcessId 1928 /hostIpcPortName eqt-b14fb823-1ed9-ccf3-2bea-2e672dc75686
[03/16 10:38:43,QTAgent32.exe(2628:13)] First trace message from background thread "Agent: adapter run thread for test 'SampleWebAiiTest' with id '8fcc0856-0ea4-4f74-b955-3c367338568c'" (managed ID = 13, native ID = 2732).
[03/16 10:38:43,QTAgent32.exe(2628:13),DialogPlayback] DialogMonitor.Start() : Beginning monitoring for dialogs from the set {}.
[03/16 10:38:44,QTAgent32.exe(2628:13),Framework] FireFoxActions.EnumFireFoxInstallations() : Valid Firefox 3.6.0.20 installation found at "C:\Program Files (x86)\Mozilla Firefox\firefox.exe".
[03/16 10:38:45,firefox.exe(1936:1)] First trace message from process 1936: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" about:blank?753956868
[03/16 10:38:45,firefox.exe(1936:1)] First trace message from background unnamed thread (managed ID = 1, native ID = 2740).
[03/16 10:38:45,firefox.exe(1936:1),Framework] BrowserRemoteClient constructor : The client ID for this hooked process will be "Client_2c97f56d-585a-4358-9975-233d960ddd64".
[03/16 10:38:45,QTAgent32.exe(2628:17)] First trace message from background thread "Pipe.ArtOfTest.WebAii.BrowserProvisioner" (managed ID = 17, native ID = 2720).
[03/16 10:38:45,QTAgent32.exe(2628:17),Framework] BrowserProvisioner.ServiceThread() : A new client has connected to the provisioning pipe.
[03/16 10:38:45,QTAgent32.exe(2628:19)] First trace message from background thread "Remoted async command listener" (managed ID = 19, native ID = 2300).
[03/16 10:38:45,QTAgent32.exe(2628:19),Framework] BrowserRemoted.AsyncListenerThreadEntry() : Not connected; this will now wait indefinitely for a pipe client connection...
[03/16 10:38:45,firefox.exe(1936:1),Framework] BrowserRemoteClient.CreateNamedPipes() : Named pipes created for communication with the server: {Command = "ae3c20d9-1d96-4639-abc2-3e0cb0a5352a.CommandPipe", Async = "ae3c20d9-1d96-4639-abc2-3e0cb0a5352a.AsyncPipe"}
[03/16 10:38:45,QTAgent32.exe(2628:18)] First trace message from foreground unnamed thread (managed ID = 18, native ID = 2648).
[03/16 10:38:45,QTAgent32.exe(2628:18),UIAutomation] AutomationExtensions.AddAutomationEventHandler() : Added a(n) WindowPatternIdentifiers.WindowOpenedProperty handler on element System.Windows.Automation.AutomationElement scope Descendants.
[03/16 10:38:46,QTAgent32.exe(2628:19),Framework] BrowserRemoted.AsyncListenerThreadEntry() : A new client has connected to the pipe.
[03/16 10:38:46,QTAgent32.exe(2628:19),Framework] BrowserRemoted.AsyncListenerThreadEntry() : Now waiting indefinitely for a command from the pipe client...
[03/16 10:38:46,QTAgent32.exe(2628:17),Framework] Manager.AddNewBrowser() : Added client ID "Client_2c97f56d-585a-4358-9975-233d960ddd64" (now there is/are 1 total).
[03/16 10:38:47,QTAgent32.exe(2628:18),UIAutomation] AutomationExtensions.AddAutomationPropertyChangedEventHandler() : Added property change handler on element System.Windows.Automation.AutomationElement scope Subtree with enlarged property set {ValuePatternIdentifiers.ValueProperty} now including {ValuePatternIdentifiers.ValueProperty}.
[03/16 10:38:47,QTAgent32.exe(2628:18),UIAutomation] AutomationExtensions.AddStructureChangedEventHandler() : Added a structure change handler on element System.Windows.Automation.AutomationElement scope Subtree.
[03/16 10:38:48,QTAgent32.exe(2628:18),DialogPlayback] DialogMonitor.AutomationEvent_OnStructureChanged() : ChildAdded event sent by named element "Search".
[03/16 10:38:49,QTAgent32.exe(2628:18),DialogPlayback] DialogMonitor.AutomationEvent_OnStructureChanged() : ChildAdded event sent by named element "http://fp-shp/Pages/default.aspx".
[03/16 10:38:49,QTAgent32.exe(2628:18),DialogPlayback] DialogMonitor.AutomationEvent_OnValueChanged() : Named element "Szukaj w zakładkach i historii" changed its value from "" to "http://fp-shp/Pages/default.aspx".
[03/16 10:38:49,QTAgent32.exe(2628:18),DialogPlayback] DialogMonitor.AutomationEvent_OnStructureChanged() : ChildAdded event sent by named element "Turn on more accessible mode".
[03/16 10:38:50,QTAgent32.exe(2628:18),DialogPlayback] DialogMonitor.AutomationEvent_OnStructureChanged() : ChildAdded event sent by named element "My Newsfeed".
[03/16 10:38:51,QTAgent32.exe(2628:18),DialogPlayback] DialogMonitor.AutomationEvent_OnStructureChanged() : ChildAdded event sent by named element "http://fp-shp/my/default.aspx".
[03/16 10:38:51,QTAgent32.exe(2628:18),DialogPlayback] DialogMonitor.AutomationEvent_OnValueChanged() : Named element "Szukaj w zakładkach i historii" changed its value from "" to "http://fp-shp/my/default.aspx".
[03/16 10:38:51,QTAgent32.exe(2628:18),DialogPlayback] DialogMonitor.AutomationEvent_OnStructureChanged() : ChildAdded event sent by named element "Adres".
[03/16 10:38:52,QTAgent32.exe(2628:18),DialogPlayback] DialogMonitor.AutomationEvent_OnStructureChanged() : ChildAdded event sent by named element "Adam Kęsy".
[03/16 10:38:52,QTAgent32.exe(2628:18),DialogPlayback] DialogMonitor.AutomationEvent_OnStructureChanged() : ChildAdded event sent by named element "http://fp-shp/my/personal/akesy/default.aspx".
[03/16 10:38:53,QTAgent32.exe(2628:18),DialogPlayback] DialogMonitor.AutomationEvent_OnValueChanged() : Named element "Szukaj w zakładkach i historii" changed its value from "" to "http://fp-shp/my/personal/akesy/default.aspx".
[03/16 10:38:53,QTAgent32.exe(2628:13),Framework] BrowserProvisioner.EndService() : Connecting to the provisioning pipe "Pipe.ArtOfTest.WebAii.BrowserProvisioner" in order to unblock and eventually terminate it...
[03/16 10:38:53,QTAgent32.exe(2628:13),Framework] BrowserProvisioner.EndService() : Provisioning pipe connected.
[03/16 10:38:53,QTAgent32.exe(2628:17),Framework] BrowserProvisioner.ServiceThread() : A new client has connected to the provisioning pipe but this will be treated as a termination cue.
[03/16 10:38:53,QTAgent32.exe(2628:13),Framework] BrowserProvisioner.EndService() : Provisioning thread terminated.
[03/16 10:38:53,QTAgent32.exe(2628:13),DialogPlayback] DialogMonitor.AddDialog() : Added {OnBeforeUnloadDialog(Dismiss=OK)} for monitoring.
[03/16 10:38:53,QTAgent32.exe(2628:13),Framework] Manager.RemoveBrowser() : Removed client ID "Client_2c97f56d-585a-4358-9975-233d960ddd64" (0 remaining).
[03/16 10:38:53,QTAgent32.exe(2628:13),Framework] Manager.SetActiveBrowser() : Active browser is now null.
[03/16 10:38:53,QTAgent32.exe(2628:13),Framework] BrowserRemoted.End() : Now aborting the listener thread (TID = 19).
[03/16 10:38:54,firefox.exe(1936:1),Framework] BrowserRemoteClient.Disconnect() : Sending ClientDisconnectRequest(ClientId="Client_2c97f56d-585a-4358-9975-233d960ddd64") to pipe server...
[03/16 10:38:54,firefox.exe(1936:1),Framework] BrowserRemoteClient.Disconnect() : Command pipe is already disconnected.
[03/16 10:38:54,QTAgent32.exe(2628:19),Warning] PipeCommunication.AsyncPipeRead() : Pipe read wait broken by thread-abort.
[03/16 10:38:55,QTAgent32.exe(2628:13),DialogPlayback] DialogMonitor.Stop() : Dialog monitoring is being halted.
[03/16 10:38:56,QTAgent32.exe(2628:18),UIAutomation] AutomationExtensions.RemoveAutomationPropertyChangedEventHandler() : Removed the property change handler on element System.Windows.Automation.AutomationElement scope Subtree.
[03/16 10:38:56,QTAgent32.exe(2628:18),UIAutomation] AutomationExtensions.RemoveStructureChangedEventHandler() : Removed the structure change handler on element System.Windows.Automation.AutomationElement scope Subtree.
AlertDialog SearchResults200Dialog = new AlertDialog(AiiBrowser, DialogButton.OK);Manager.Current.DialogMonitor.AddDialog(SearchResults200Dialog);Manager.Current.DialogMonitor.Start();consentSearch.SearchClick();
Manager.Settings.UnexpectedDialogAction = UnexpectedDialogAction.DoNotHandle; DownloadDialogsHandler handler = new DownloadDialogsHandler(ActiveBrowser, DialogButton.SAVE, @"D:\address.xls", Manager.Desktop); Manager.ActiveBrowser.WaitUntilReady(); Pages.abcd.FrameFrame1.DownloadlinkLink.Click(false); handler.WaitUntilHandled(9000); I am getting the attached exception and the file doesnot save.
It opens the SaveAs dialog and doesnot pick the given path and freezes.
Attached is the screenshot of steps performed to save.
Could you please help.
Thanks,
Satya