Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 31033 invoked from network); 3 Sep 2008 19:54:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 19:54:16 -0000 Received: (qmail 69937 invoked by uid 500); 3 Sep 2008 19:54:13 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 69889 invoked by uid 500); 3 Sep 2008 19:54:13 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 69878 invoked by uid 99); 3 Sep 2008 19:54:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 12:54:13 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 19:53:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 82C21234C1CA for ; Wed, 3 Sep 2008 12:53:44 -0700 (PDT) Message-ID: <1732751549.1220471624534.JavaMail.jira@brutus> Date: Wed, 3 Sep 2008 12:53:44 -0700 (PDT) From: "B.J. Reed (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMODEVTOOLS-485) "About Eclipse Platform" testcase In-Reply-To: <1337962817.1219093664143.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628116#action_12628116 ] B.J. Reed commented on GERONIMODEVTOOLS-485: -------------------------------------------- I see a few problems....the second line is still looking at the workbench and not the dialog Went ahead and stepped through the Abbot code a little more. Those things on the About dialog are not ToolItems, but are Buttons so we still want to use the WidgetToolTipMatcher inner class, but you'll also need to add to the getText method to handle instances of Button. The fact that you found 6 ToolItems was just a coincidence. So for the second call, you may want to copy the clickToolItem (...) method (since this one is ToolItem specific) and create one for clicking the Button by finding its tool tip text. (I just named it clickButtonFromToolTipText below, but I'm sure there's a better name for it). The code should look something like this: Shell dialogShell = aHelper.clickMenuItem(workbenchShell, new String[] {"&Help", "&About Eclipse Platform"}, "About Eclipse Platform"); aHelper.clickButtonFromToolTipText(dialogShell,"Eclipse.org - Mylyn"); When stepping through the code, I went ahead and copied the tool tip texts that were available to me. Eclipse.org - Help System Base Eclipse.org - J2EE Standard Tools (JST) Eclipse.org - Mylyn Eclipse.org - EMF - Eclipse Modeling Framework Apache.org - Geronimo v21 Server Tools Core Plug-in Eclipse.org# - Data Tools Platform User Documentation plus 4 nulls for the Buttons at the bottom of the dialog > "About Eclipse Platform" testcase > --------------------------------- > > Key: GERONIMODEVTOOLS-485 > URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-485 > Project: Geronimo-Devtools > Issue Type: Sub-task > Reporter: Tim McConnell > Assignee: Ashish Jain > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.