Beispiel #1
0
        public void DoOperations()
        {
            string ispfText = XMLLibrary.GetName(EntityPwd.constScrName, EntityPwd.constIspf);

            TCSRPA.XMLLibrary.TextSetter pwdValue = XMLLibrary.GetTextSetter(EntityPwd.constScrName, EntityPwd.constPwdValue);

            MainFrameAdapter.SetTextOnScreen(pwdValue.Row, pwdValue.Column, CryptSecurity.ConvertToUnsecureString(EntityGlobal.pswd));
            Thread.Sleep(1000);
            MainFrameAdapter.SendKey(PcomKeys.Enter);

            #region Navigate till Ispf screen

            //ICH70001I RPASAR   LAST ACCESS
            MainFrameAdapter.SendKey(PcomKeys.Enter);

            //Notice screen
            MainFrameAdapter.SendKey(PcomKeys.Enter);

            //Notice screen - continue
            MainFrameAdapter.SendKey(PcomKeys.Enter);

            //ZIOEC screen
            MainFrameAdapter.SendKey(PcomKeys.Enter);

            MainFrameAdapter.SendKey(ispfText);
            Thread.Sleep(1000);
            MainFrameAdapter.SendKey(PcomKeys.Enter);

            #endregion

            SystemLog.LogAuditMessage(EntityPwd.constScrName, DiagnosticLevel.level2, MethodBase.GetCurrentMethod().Name + EntityGlobal.METHOD_END, EntityGlobal.transactionId);
        }
Beispiel #2
0
        public void DoOperations()
        {
            TCSRPA.XMLLibrary.TextSetter AppName = XMLLibrary.GetTextSetter(EntityTSO.constScrName, EntityTSO.constAppName);

            MainFrameAdapter.SetTextOnScreen(AppName.Row, AppName.Column, AppName.Text);
            Thread.Sleep(1000);
            MainFrameAdapter.SendKey(PcomKeys.Enter);

            SystemLog.LogAuditMessage(EntityTSO.constScrName, DiagnosticLevel.level2, MethodBase.GetCurrentMethod().Name + EntityGlobal.METHOD_END, EntityGlobal.transactionId);
        }
Beispiel #3
0
        public void DoOperations()
        {
            GlobalHelper.GetUserPwd(EntityGlobal.appName);

            TCSRPA.XMLLibrary.TextSetter userIdValue = XMLLibrary.GetTextSetter(EntityUserId.constScrName, EntityUserId.constUserIdValue);
            MainFrameAdapter.SetTextOnScreen(userIdValue.Row, userIdValue.Column, CryptSecurity.ConvertToUnsecureString(EntityGlobal.userId));
            Thread.Sleep(1000);
            MainFrameAdapter.SendKey(PcomKeys.Enter);

            SystemLog.LogAuditMessage(EntityUserId.constScrName, DiagnosticLevel.level2, MethodBase.GetCurrentMethod().Name + EntityGlobal.METHOD_END, EntityGlobal.transactionId);
        }