flaui

Getting the visibility of a progress bar in a WPF application using FlaUI Automation

本小妞迷上赌 提交于 2020-03-06 06:39:28
问题 I am automating a WPF app using FlaUI . I have a progressbar that is Inderminate . Once the progressbar gets Collapsed , The UI is loaded. I want to implement a Retry mechanism on the ProgressBar Visibility but I am not able to find the correct property through FlaUI private ProgressBar LoadingStatus => _uiAutomation.FindElement("ShowProgress", Automation.FindBy.Id).AsProgressBar(); <ProgressBar AutomationProperties.AutomationId="ShowProgress" Grid.Row="1" Height="4" Margin="0"