Android Device Scrolling issue

I am automating on android devices, Droid X. When I scroll down, there is a chance it highlights some text instead of actually doing the scrolling. I understand I might need to play with the four parameters

Currently, I have the following:
set the MouseClickDelay to 0.2
set the MouseDownDelay to 0.2
set the MouseDragSpeed to 5
set the DragendDelay to 0.15

Is increasing the numbers always good if efficiency is not an issue?
Is there anything else I can do to avoid the problem?

Comments

  • I use the following to do scrolling on Android phone.
    DragAndDrop "Img1", "Img2"

    Everything else are default. Didn't see the problem you mentioned.
  • Thanks for your reply.

    I have tried both my setting and the default setting. While I am scrolling down, there is still a good chance that the "Select text" is unintentionally applied. Please refer to the picture attached.

    I wrote a scrollDown() method

    to scrollDown stopperText
    repeat until ImageFound((Text:stopperText, CaseSensitive:"Yes"))
    DragAndDrop(a, b), (a, c)
    end repeat
    Wait 1
    end scrollDown

    Where a, b, c are just some constants.

    Have you ever encountered the same problem? If so, how do you avoid the "Select text" issue?

    Thanks,
  • It's a different approach. Does your ImageFound text stable?
    Did you try to scroll from left side of the screen, which are all images?
    Then you have no chance to scroll through any text.

    Or, how many stopperText you will have?
    If not a lot, maybe using images for ImageFound and scroll are more stable.
  • Thanks for your replay again.

    Does your ImageFound text stable?
    Yes, my ImageFound text is stable.

    Did you try to scroll from left side of the screen, which are all images?
    No, to scroll from left side, I was afraid I would unintentionally trigger the preview buttons. I have tried to scroll from middle of the screen, which has the "select text" issue. And I have also tried to scroll from the far right (close to border), which don't cause the "select text" issue but sometimes it doesn't "grasp" the screen to scroll. I will try to scroll from the left.

    Or, how many stopperText you will have?
    If not a lot, maybe using images for ImageFound and scroll are more stable.
    Each time this method is called, there is only one stopperText but there will be many different stopperText. If I use ImageFound instead, I can't take the advantage of OCR and have to take a lot of screenshots to save the images.
Sign In or Register to comment.