public static AutomationDialog WaitForDialog(VisualStudioApp app)
 {
     return(new AutomationDialog(app, AutomationElement.FromHandle(app.WaitForDialog())));
 }
 public static RemoveItemDialog FromDte(VisualStudioApp app)
 {
     return(new RemoveItemDialog(app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Edit.Delete"))));
 }
 public AutomationDialog(VisualStudioApp app, AutomationElement element)
     : base(element)
 {
     App            = app;
     DefaultTimeout = TimeSpan.FromSeconds(10.0);
 }
 public AzureWebSiteImportPublishSettingsDialog(VisualStudioApp app, AutomationElement element)
     : base(app, element)
 {
 }
 public RemoveItemDialog(VisualStudioApp app, AutomationElement element)
     : base(app, element)
 {
 }
Пример #6
0
 public void CheckMessageBox(MessageBoxButton button, params string[] text)
 {
     VisualStudioApp.CheckMessageBox(button, text);
 }
 public CredentialsDialog(VisualStudioApp app, AutomationElement element)
     : base(app, element)
 {
 }
 public SaveProjectDialog(VisualStudioApp app, AutomationElement element)
     : base(app, element)
 {
 }
Пример #9
0
 public void CheckMessageBox(params string[] text)
 {
     VisualStudioApp.CheckMessageBox(text);
 }
 public AddExistingItemDialog(VisualStudioApp app, AutomationElement element)
     : base(app, element)
 {
 }
 public static NewProjectDialog FromDte(VisualStudioApp app)
 {
     return(app.FileNewProject());
 }
Пример #12
0
 public SelectFolderDialog(VisualStudioApp app, AutomationElement element)
     : base(app, element)
 {
 }
Пример #13
0
 public AzureImportSubscriptionDialog(VisualStudioApp app, AutomationElement element)
     : base(app, element)
 {
 }
Пример #14
0
 public NewItemDialog(VisualStudioApp app, AutomationElement element)
     : base(app, element)
 {
     _app = app;
 }
Пример #15
0
        public static AzureWebSitePublishDialog FromDte(VisualStudioApp app)
        {
            var publishDialogHandle = app.OpenDialogWithDteExecuteCommand("Build.PublishSelection");

            return(new AzureWebSitePublishDialog(app, AutomationElement.FromHandle(publishDialogHandle)));
        }
Пример #16
0
 public AzureWebSitePublishDialog(VisualStudioApp app, AutomationElement element)
     : base(app, element)
 {
 }