← Back to team overview

sikuli-driver team mailing list archive

[Question #268487]: Problems with type() and END key

 

New question #268487 on Sikuli:
https://answers.launchpad.net/sikuli/+question/268487

I'm doing the following in Eclipse:

     # Switch to application window.
     App.focus("Test App")

     scr = Screen()

     # Do some stuff with the scr object.

     # Scroll window to end.
      scr.type(Key.END)
      scr.click("close_button.png")

"scr.type(Key.END)" has the desired effect when executing in the IDE of scrolling to the end of the window. Under Eclipse with Jython it has no effect. No error or anything, just nothing happens.

Likewise with:

     scr.keyDown(Key.END)

Again, no error messages, just no result.

Have been trying to integrate a Selenium script that runs great under Python, and a Sikuli script that runs great in the IDE. And wow! it's been like wrestling cats. Neither seems to work as expected under Eclipse/PyDev/Jython.

ddk

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