[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
Wed Apr 18 03:10:19 EDT 2012


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

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

I don't like changing UI because of tests either but the programmatic approach should not be used in UI testing. The tests need to cover the behaviour after clicking the button including the search for runtimes. 

Let's not think of my request as changing the UI for tests but rather than unifying the behaviour of Add and Edit buttons. As I've written before, Edit dialog contains the possibility to set the path into the text field that can be easily performed by SWTBot. 
                
> 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