It is the Java platfrom that handles the escape sequence when creating
String foo = "\"";
String bar = "\'";
String foobar = "'";
foo will contain the " string
bar will contain the ' string
foobar will contain the ' string
so, if typeText can't type the text, it is probably a misconfiguration of
the keyboard strategy/SWTBot's keyboard layout/native keyboard layout.
What is the keyboard layout you use when you type? Standard US? All other
layout are not supported (see bug #280562).
What is your keyboard strategy? The default one is AWTKeyboardStrategy.
What is your SWTBot's keyboard layout? By default, SWTBot tries to guess
it based on the language of your OS and stores it in
I am using a standard US Keyboard layout. Also SWTBot is correctly
recognizing the keyboard layout. Also in the console when I am running my
test I can see it state that it is typing "text within quotes" but the
quotes will not appear in the editor window.