Ejemplo n.º 1
0
            public PresentationSpace F3_Exit(DisplaySession InSess)
            {
                PresentationSpace ps = null;

                InSess.SendKeys(Ehllapier.Key.F3);
                ps = InSess.GetPresentationSpace();
                return(ps);
            }
Ejemplo n.º 2
0
 public static bool IsScreen(DisplaySession DisplaySession)
 {
     StrseuScreen.ExitScreen dms =
         new StrseuScreen.ExitScreen(DisplaySession.GetPresentationSpace());
     if (dms.IsScreen() == true)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
        public static bool IsScreen(DisplaySession DisplaySession)
        {
            DisplayMessagesScreen dms =
                new DisplayMessagesScreen(DisplaySession.GetPresentationSpace());

            if (dms.IsScreen() == true)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
        public static bool IsScreen(DisplaySession DisplaySession)
        {
            RecoverInteractiveJobScreen dms =
                new RecoverInteractiveJobScreen(DisplaySession.GetPresentationSpace());

            if (dms.IsScreen() == true)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Ejemplo n.º 5
0
            public static void Enter(EhllapiSettings Settings)
            {
                using (DisplaySession sess = new DisplaySession())
                {
                    sess.Connect(Settings.SessId);

                    StrseuScreen.ExitScreen dms =
                        new StrseuScreen.ExitScreen(sess.GetPresentationSpace());
                    if (dms.IsScreen() == false)
                    {
                        throw new ApplicationException("not at STRSEU Exit screen.");
                    }

                    dms.Enter(sess);
                }
            }
Ejemplo n.º 6
0
        public void Enter(
            DisplaySession InSess, string InUserName, string InPassword)
        {
            // tab to entry field as row xxx, col yyy
            var loc = new DisplayLocation(6, 53);

            InSess.TabRightToDisplayLocation(loc);

            InSess.SendKeys(InUserName + Ehllapier.Key.FieldExit);
            InSess.SendKeys(InPassword + Ehllapier.Key.FieldExit);
            InSess.SendKeys(Ehllapier.Key.Enter);
            InSess.Wait();

            // advance past "display messages" screen.
            DisplayMessagesScreen dpm =
                new DisplayMessagesScreen(InSess.GetPresentationSpace( ));

            if (dpm.IsScreen( ))
            {
                dpm.Enter(InSess);
            }
        }