private InstallDialogTestExtension OpenWizardFromSolutionExplorerItem(string nodeName) { SolutionExplorerItemTestExtension solutionExplorerItemTestExtension = SolutionExplorer.FindItemRecursive(nodeName); solutionExplorerItemTestExtension.Select(); InstallDialogTestService installDialogTestService = VisualStudio.Get <InstallDialogTestService>(); InstallDialogTestExtension installDialogTestExtenstion = installDialogTestService.OpenDialog(); return(installDialogTestExtenstion); }
private void SetLibraryAndClickInstall(string nodeName, string library) { SolutionExplorerItemTestExtension solutionExplorerItemTestExtension = SolutionExplorer.FindItemRecursive(nodeName); solutionExplorerItemTestExtension.Select(); InstallDialogTestService installDialogTestService = VisualStudio.Get<InstallDialogTestService>(); InstallDialogTestExtension installDialogTestExtenstion = installDialogTestService.OpenDialog(); installDialogTestExtenstion.SetLibrary(library); installDialogTestExtenstion.ClickInstall(); }