From ticket 852203 When you put a Handle Download Dialog inside of an IF/ELSE block, the dialog is not handled. The test fails with: '8/22/2014 2:43:08 PM' - 'Fail' : 4. Handle 'Download' dialog. ------------------------------------------------------------ Failure Information: ~~~~~~~~~~~~~~~ Timed out waiting '25000' msec. for download dialog to be handled. InnerException: System.TimeoutException: Timed out waiting '25000' msec. for download dialog to be handled. at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DownloadDialogHandlerDescriptor.Execute(Browser browser) at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser) at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order) Attached is a sample test to repro the problem.