[jbosstools-issues] [JBoss JIRA] (JBIDE-11567) Provide a way to add runtime detection path using SWTBot

Lucia Jelinkova (JIRA) jira-events at lists.jboss.org
Thu Apr 19 04:04:18 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12685548#comment-12685548 ] 

Lucia Jelinkova commented on JBIDE-11567:
-----------------------------------------

I understand I can solve this using programmatic solution or by combining Edit & Search buttons. But these UI tests will not guarantee that clicking Add button actually works or does not throw any exception. 

I'd like to have the opportunity to test the Add button because apart from adding the path there is also performed automatic runtime search. I have no intention in testing native dialogs. 

Dialogs displayed after clicking Add and Edit buttons are not the same. After clicking Add button the file selection dialog is open but when you click Edit button a different dialog is open. I suggest to display the same dialog in both cases (the one that is displayed after clicking the Edit button). I don't like the idea of merging Add and Edit buttons into one. 



                
> Provide a way to add runtime detection path using SWTBot
> --------------------------------------------------------
>
>                 Key: JBIDE-11567
>                 URL: https://issues.jboss.org/browse/JBIDE-11567
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: runtime detection
>    Affects Versions: 3.3.0.Beta2
>            Reporter: Lucia Jelinkova
>            Assignee: Snjezana Peco
>
> I've started to develop UI automated tests for runtime detection using SWTBot. The problem is that when clicking the Add button on JBoss Tools Runtime Detection preferences page there is a native file dialog shown that cannot be operated by SWTBot. 
> Would it be possible to display a dialog similar to the one displayed by Edit button? There is the possibility to provide the path into the text field (that can be done by SWTBot) or to Browse the file system (used by normal users). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list