Skip to content

New keyword Press Key Native #33

Open
@UlrichBode

Description

@UlrichBode

Add to Element.java a new keyword Press Key Native. Prototype see below.

Goal: Elements like scrollbar are not coded in html. Therefore a locator can only hit the whole element and not single control elements. Keys like page up/down can be used instead.
The keyword Press Key only accepts ASCII characters. To use other keys (see http://docs.oracle.com/javase/6/docs/api/constant-values.html#java.awt.event.KeyEvent.CHAR_UNDEFINED) a native version is necessary.

Additional the same keyword without locator could be useful. Compare http://robotframework-seleniumlibrary.googlecode.com/hg/doc/SeleniumLibrary.html?r=2.5#Press%20Key%20Native

/**

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions