I'm having trouble with these two specific key combinations. I have no trouble with CONTROL-INSERT or CONTROL-DELETE...or with SHIFT-A, SHIFT-B, etc.
For the successful case (CONTROL-INSERT)
push(CONTROL, INSERT);
yields:
control down = true
key code = CONTROL
control down = true
key code = INSERT
But for the failing cases (SHIFT-INSERT and SHIFT-DELETE)
push(SHIFT, INSERT);
-- or --
press(SHIFT).push(INSERT).release(SHIFT);
yields:
control down = false
key code = SHIFT
control down = false
key code = INSERT
control down = false
key code = SHIFT
Is there something special I need to know about using the shift key in TestFx with other special (non-character) keys?
Any help would be much appreciated!
TIA,
Chris
BTW, the wiki page mentions the hold() method, but that seems to no longer exist. I almost updated the wiki page, but I'm not confident my understanding of push() vs press() is correct. The javadoc doesn't offer a differentiation either.