Ecolab.Pages.CustomerTabPage.ClickonOkPreferencesButton C# (CSharp) Method

ClickonOkPreferencesButton() public method

Clickons the ok preferences button.
public ClickonOkPreferencesButton ( string Text ) : void
Text string
return void
        public void ClickonOkPreferencesButton(string Text)
        {
            ConfirmDialog confirmDialog = ConfirmDialog.CreateConfirmDialog(Telerik.ActiveBrowser.Manager.ActiveBrowser, DialogButton.OK);
            Telerik.ActiveBrowser.Manager.DialogMonitor.AddDialog(confirmDialog);
            HtmlControl ctrl_Row = GetSpecificCustomerGridRow(Text);
            IList<Element> ctrlActions = GetActionControls(ctrl_Row);
            new HtmlControl(ctrlActions[1]).Click();
        }