← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #99475]: Novice: How to include page down key

 

Question #99475 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/99475

RaiMan posted a new comment:
@Julie

*** possible reason 1: the page-down is not accepted, because you are
still in the entry field

or did you miss the \n in this post?

recommandation: use
type( ,"Test Ad for Automated Testing"); type(Key.Enter)

this is more readable.

*** possible reason 2: timing problem

the webpage may need some time to prepare for the next key press.

try this:
type(some-image ,"Test Ad for Automated Testing"); type(Key.Enter); wait(0.5) # give time to web page
type(Key.PAGE_DOWN); wait(1) # give time to scroll down
type(some-other-image ,"07771 888777\n")

*** general comment for other questions
do not ask additional questions by adding comments to already solved ones.
just start a new question.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.