1 Reply Latest reply on Oct 26, 2015 9:18 AM by PLaFortune

    TelnetCE script working on a MC9190 and not on a MC32NO_G

    Rookie

      Hello,

       

      We're currently facing an issue on a TelnetCE (7.3.130) script running on a MC9190 gun and not on MC32NO_G

       

      This script allows to automatically connect to an application on a server.

       

      The main issue is on password sending, after Wait_for_Screen_Update  (the first linefeed is working), nothing happened:

       

      Comment: Verify that this is the desired screen.

      If_Not( String_Equal(Get_Screen_Text_Length( 24,1,6),"login:",0, FALSE))

      Return

      End_If

      Set_Cursor_Position( 24,8)

      Message("Starting Script",3)

      Keypress_String("login")

      Keypress_Key("Line Feed")

      Comment: Wait for the desired screen.

      While_Not( String_Equal( Get_Screen_Text_Length(24, 1,17), "rfgun's Password:",0,FALSE))

      Wait_for_Screen_Update

      End_While

      Keypress_String("password")

      Keypress_Key("Line Feed")

      Message("Script Done",3)

      Return


      The screen update option is set on TelnetCE


      Any idea ?


      Thanks,


      Regards