--- old/application/uitests/org.openjdk.jmc.test.jemmy/src/test/java/org/openjdk/jmc/test/jemmy/misc/base/wrappers/MCJemmyBase.java 2019-10-22 09:27:23.808183421 -0400 +++ new/application/uitests/org.openjdk.jmc.test.jemmy/src/test/java/org/openjdk/jmc/test/jemmy/misc/base/wrappers/MCJemmyBase.java 2019-10-22 09:27:23.649181149 -0400 @@ -214,6 +214,17 @@ } /** + * Gets a shell by text + * + * @param text + * the text string to lookup the shell with + * @return the associated shell + */ + protected static Wrap getShellByText(String text) { + return Shells.SHELLS.lookup(Shell.class, new ByTextShell<>(text)).wrap(); + } + + /** * Tries to set focus on Mission Control */ public static void focusMc() {