public void Welcome(string ActivationAppTitle, string Text, string _btnNextControl, string _panelId, string _selectionMessage, Process process) { if (process.MainWindowTitle == ActivationAppTitle) { helper.KeyPress(ActivationAppTitle, Text, _btnNextControl, _panelId, _selectionMessage, "{ALT}{N}"); //helper.ButtonClick(ActivationAppTitle, Text, _panelId, _btnNextControl, _selectionMessage); } }
public void Welcome(string AppTitle, string PanelID, string SelectionMessage) { helper.KeyPress(AppTitle, "", PanelID, PanelID, SelectionMessage, "{ALT}{N}"); }
public void SelectFeatures(string InstallerAppTitle, string Text, string _btnNextControl, string _panelId, string _selectionMessage, string selectionListControl, bool isServiceInstallation) { if (isServiceInstallation) { for (int i = 0; i <= 13; i++) { helper.KeyPress(InstallerAppTitle, Text, selectionListControl, _panelId, _selectionMessage, "{SPACE}"); if (i == 6) { helper.Sleep(50); helper.KeyPress(InstallerAppTitle, Text, selectionListControl, _panelId, _selectionMessage, "{DOWN}"); helper.KeyPress(InstallerAppTitle, Text, selectionListControl, _panelId, _selectionMessage, "{DOWN}"); continue; } helper.KeyPress(InstallerAppTitle, Text, selectionListControl, _panelId, _selectionMessage, "{DOWN}"); } } else { helper.KeyPress(InstallerAppTitle, Text, selectionListControl, _panelId, _selectionMessage, "{SPACE}"); } #region SelectInstallPathBrowsePopup // Select Installation path code to be add #endregion helper.ButtonClick(InstallerAppTitle, Text, _panelId, _btnNextControl, _selectionMessage); helper.Sleep(1000); }