public void AuthenticationServer(string ActivationAppTitle, string Text, string _btnNextControl, string _panelId, string _selectionMessage, string ddlAuthenticationControl, string AuthType) { //dropdown selection if (AuthType == "AD") { if (helper.ControlGetText(ActivationAppTitle, ddlAuthenticationControl, _panelId, _selectionMessage) == "Microsoft Active Directory") { helper.ButtonClick(ActivationAppTitle, Text, _panelId, _btnNextControl, _selectionMessage); } } if (AuthType == "IRC") { helper.KeyPress(ActivationAppTitle, Text, ddlAuthenticationControl, _panelId, _selectionMessage, "{DOWN}"); //if (helper.ControlGetText(ActivationAppTitle, ddlAuthenticationControl, _panelId, _selectionMessage) == "Infor Risk & Compliance Application Security") //{ helper.ButtonClick(ActivationAppTitle, Text, _panelId, _btnNextControl, _selectionMessage); // } helper.Sleep(2000); } }
public void AUWelcome(string AppTitle, string Text, string btnNext, string PanelID, string selectionMessage, string ControlToSelect) { helper.SelectRadioButton(AppTitle, ControlToSelect); helper.ButtonClick(AppTitle, Text, PanelID, btnNext, selectionMessage); //helper.KeyPress(AppTitle, Text, btnNext, PanelID, selectionMessage, "{ALT}{N}"); }
public void Welcome(string InstallerAppTitle, string Text, string _btnNextControl, string _panelId, string _selectionMessage, Process process) { if (process.MainWindowTitle == InstallerAppTitle) { //_btnNextControl = "[CLASS:Button; INSTANCE:1]"; //Text = "&Next >"; helper.ButtonClick(InstallerAppTitle, Text, _panelId, _btnNextControl, _selectionMessage); helper.Sleep(2000); } }