Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New keyword Press Key Native #33

Open
UlrichBode opened this issue Sep 25, 2013 · 1 comment
Open

New keyword Press Key Native #33

UlrichBode opened this issue Sep 25, 2013 · 1 comment

Comments

@UlrichBode
Copy link

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

/**

@asitishere
Copy link

You want to scroll or something else ?

Can use action Builder to do the job and can be easily created as Keyword.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants