Not able to type on the textbox of the app

Not able to type on the textbox of the app

Home Forums Ask Expert Not able to type on the textbox of the app

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #31067
    Valentin ZAP
    Keymaster

      Good morning, Leidzb!

      In the attached script we have found 2 inputs:

      1. At the login Page (LogIn View)
      2. At the Connect Page (Connect view)

      Where exactly do you have this problem? Second view looks good, but at the first one you should use “Relative” objects for typing Login and Password (script is attached).

      Also if you use different DPI settings, you also should set “Scalability” option to “Parent Size”. Default is “None”.

      Let us know if you still have this issue.

      Thank you,
      ZAPTEST Team

      Attachments:
      #31070
      Leidz Bigay
      Participant

        Hi AndreySh,

        Thank you for the quick response.
        The login page is working fine but I have fixed it as you said.
        I am having problems in the Connect page, I have already set the Scalability” option to “Parent Size” but zaptest is still not able to type inside the textbox (Username, Password in the Connect page)

        I have attached the updated zaptest file

        Attachments:
        #31073
        Valentin ZAP
        Keymaster

          Hi leidzb!

          Some applications (views) could block emulated system input methods, but if the first screen works very well, the second screen should work. Is it possible to get access to your application for our RnD team to check and resolve this issue?

          As workaround you could try to use:

          1. Zap.Keyboard methods: KeyDown/KeyPress/KeyUp. Please check, is it possible to type using those commands after clicking to the field. Those methods could type only one symbol, but it’s possible to enhance this behaviour
          2. Use system clipboard: Zap.SetClipboard -> Right Mouse Click -> Paste

          Thank you,
          ZAPTEST Team

          #31075
          Leidz Bigay
          Participant

            Hi AndreySh,

            I have tried the following work-arounds below, but none seemed to work for our app.

            Workaround 1:
            click on textbox
            hold keyboard key: k

            Workaround 2:
            Set clipboard “k”
            Click Textbox
            Press on keyboard: ctrl + v

            Workaround 3:
            Click on textbox
            Press k on keyboard

            Workaround 4:
            Click on textbox
            Type k

            Workaround 5:
            Type k directly on textbox

            I have attached the zaptest file together with a screen recording.
            Let me know if you have any advice on this issue.
            The screen recording starts on where the issue is being found
            (‘Start of Video Recording’ comment in the zaptest file)

            Thanks for the help.

            #31079
            Valentin ZAP
            Keymaster

              Could you try this workaround which uses clipboard (ZAPTEST script is attached):


              ' Set Clipboard
              Zap.SetClipboard "login"
              ' Make Right Mouse Click at the textbox
              Application("SecurEasy").View("Connect").Object("lblConnectUserName").Object("tbConnectUserName").RightClick
              ' Select "paste" menu item
              ' We have created virtual object which will use OCR engine
              Application("SecurEasy").View("Connect").Object("paste").Click

              Thank you,
              ZAPTEST Team

              Attachments:
            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.

            Virtual Expert

            ZAPTEST

            ZAPTEST Logo