Hi,
I hv created a small flow with UI automation ( 5 steps only). However, i am receiving error at Last Stage i.e. at the time of closing window. The window exists, but the flow says "Window Not Found" .
Window Closing Error
Please note that i have selected the Window (to be closed) from Drop-Down Menu only and not any manual entry as can be seen in the screenshot below:-
Close Window- Image Details
And i have copied the error thrown as follows (which of Course i don't understand):-
Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Window wasn't found ---> Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.WindowNotFoundException: Exception of type 'Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.WindowNotFoundException' was thrown.
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Window.WindowsActions.FindWindowByRetractionMode(Variant windowSelector, Variant childWindowSelector, Variant windowTitle, Variant windowClass, Guid windowId, UIWindowRetractionModeEnum uiWindowRetractionMode)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Window.WindowsActions.CloseWindow(Variant windowSelector, Variant childWindowSelector, Variant windowTitle, Variant windowClass, Guid windowId, Int32 uiWindowRetractionMode)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Proxy.LocalAutomationRuntime.CloseWindow(String windowSelector, String childWindowSelector, String windowTitle, String windowClass, Guid windowId, FindWindowBy windowMode)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.CloseWindowBase.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.CloseWindowBase.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
Kindly let me know , why the system is throwing the error.