public void ClickQuickStartGuide() { DHSTranslateReader reader = new DHSTranslateReader(); Dictionary <string, string> navPanel = reader.GetNavigationPanelText("Manuals"); string qsg = navPanel["QuickStartGuide"]; Text qsgText = repo.DHSMainWindow.NavigationPanel.FindSingle <Text>(@"./button/text[@text='" + qsg + "']"); qsgText.Click(); Delay.Milliseconds(1000); }
public void ClickViewAllManuals() { DHSTranslateReader reader = new DHSTranslateReader(); Dictionary <string, string> navPanel = reader.GetNavigationPanelText("Manuals"); string viewAllManuals = navPanel["ViewAllManuals"]; viewAllManuals = viewAllManuals.Replace(@"{0}", Utils.GetPlatformName()); Text viewAllText = repo.DHSMainWindow.NavigationPanel.FindSingle <Text>(@"./button/text[@text='" + viewAllManuals + "']"); viewAllText.Click(); Delay.Milliseconds(2000); }