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()
        {
            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);
        }
Beispiel #3
0
        public void DoOperations()
        {
            MainFrameAdapter.WaitForCursor(6, 53);
            //GlobalHelper.GetUserPwd(EntityGlobal.appName);
            SystemLog.LogAuditMessage(EntityUserId.constScrName, DiagnosticLevel.level2, MethodBase.GetCurrentMethod().Name + EntityGlobal.METHOD_START, EntityGlobal.transactionId);

            EntityGlobal.userId = ConvertToSecureString("BFPGENJUL");
            EntityGlobal.pswd   = ConvertToSecureString("JUP1T3R6");

            //TCSRPA.XMLLibrary.TextSetter userIdValue = XMLLibrary.GetTextSetter(EntityUserId.constScrName, EntityUserId.constUserIdValue);
            MainFrameAdapter.SetTextOnScreen(6, 53, CryptSecurity.ConvertToUnsecureString(EntityGlobal.userId));
            MainFrameAdapter.SetTextOnScreen(7, 53, CryptSecurity.ConvertToUnsecureString(EntityGlobal.pswd));

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

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