private void LoadPublishSettings(AzureManageSubscriptionsDialog manageSubscriptionsDialog, string publishSettingsFilePath) { manageSubscriptionsDialog.ClickCertificates(); while (manageSubscriptionsDialog.SubscriptionsListBox.Count > 0) { manageSubscriptionsDialog.SubscriptionsListBox[0].Select(); manageSubscriptionsDialog.ClickRemove(); WaitForDialogToReplace(manageSubscriptionsDialog.Element); VisualStudioApp.CheckMessageBox(TestUtilities.MessageBoxButton.Yes); } using (var importSubscriptionDialog = manageSubscriptionsDialog.ClickImport()) { importSubscriptionDialog.FileName = publishSettingsFilePath; importSubscriptionDialog.ClickImport(); } }
public void CheckMessageBox(MessageBoxButton button, params string[] text) { VisualStudioApp.CheckMessageBox(button, text); }
public void CheckMessageBox(params string[] text) { VisualStudioApp.CheckMessageBox(text); }