com.atlassian.webtest.ui.keys
Interface KeySequence

All Known Implementing Classes:
AbstractKeySequence, CharacterKeySequence, DefaultKeySequence, SpecialKeys, SpecialKeysSequence

public interface KeySequence

Represents a keyboard input to type into test pages. A key sequence contains one of more keys represented by instances of the Key class. It may also be meant to type in with some modifier keys pressed down, which is represented by the withPressed() method.


Method Summary
 List<Key> keys()
          An immutable list of keys to be typed.
 Set<ModifierKey> withPressed()
          A set of SpecialKeys that should be pressed during entering this sequence's keys().
 

Method Detail

keys

List<Key> keys()
An immutable list of keys to be typed.

Returns:
keys to type into the target test page element

withPressed

Set<ModifierKey> withPressed()
A set of SpecialKeys that should be pressed during entering this sequence's keys(). If empty, no special keys should be pressed during typing.

Returns:
special keys to be pressed. Should never be null


Copyright © 2014 Atlassian. All rights reserved.