草庐IT

fileOpeNpicker

全部标签

c# - Windows 10 中的触摸屏友好文件选择器

我正在寻找适用于Windows10的触摸屏友好型文件选择器。在Windows8和8.1中,我使用了FileOpenPicker:FileOpenPickerfileOpenPicker=newFileOpenPicker();fileOpenPicker.FileTypeFilter.Add(".wma");fileOpenPicker.FileTypeFilter.Add(".mp3");fileOpenPicker.SuggestedStartLocation=PickerLocationId.VideosLibrary;fileOpenPicker.ViewMode=Picker

fileOpeNpicker与appium Unitest

如何处理C#UWP应用程序中的Appium中的filedialog?就我而言,用户单击一个按钮和FileOpenpicker提示,用户必须选择一个或多个文件。如何在AppiumUnitest中处理此FileOpenpicker?varButtonPlusElement=AppSession.FindElementByAccessibilityId("ButtonFilePicker");Assert.IsNotNull(ButtonPlusElement);_ButtonFilePicker=ButtonPlusElement;_ButtonFilePicker.Click();//FileO