public void Clone(string code)
        {
            string clonedValue = code + Resource.CloneSuffix;

            PanelModuleCommon.CloneButtonClick();
            DialogFileMaintenanceClone dlg = new DialogFileMaintenanceClone();

            dlg.SetNewRecordCodeList(clonedValue);
            dlg.ContinueButtonClick();

            DialogInformation dlgInfo = new DialogInformation();

            dlg.ClickButtonByButtonTitle(Resource.ProcessButtonTitle);
            Dialog dlgSuccess = new Dialog(Resource.SuccessDialogTitle);

            dlgSuccess.CloseDialogByCloseButton();
        }
Esempio n. 2
0
        public new void Clone(string code)
        {
            string clonedValue = code + Resource.CloneSuffix;

            PanelModuleCommon.CloneButtonClick();

            DialogFileMaintenanceClone cloneDlg = new DialogFileMaintenanceClone();

            cloneDlg.SetNewRecordCodeList(clonedValue);
            cloneDlg.SetNewSeason(Season);
            cloneDlg.SetNewYear(Year);
            cloneDlg.ContinueButtonClick();
            DialogInformation infoDlg = new DialogInformation();

            infoDlg.ClickButtonByButtonTitle("Process");
            RecTracPom.OnScreenElements.Dialog dialog = new RecTracPom.OnScreenElements.Dialog("Success");
            dialog.CloseDialogByCloseButton();
        }