I have an application that generates an SWT UI (with a text entry field and two buttons, similar to eclipse workspace selector). I want to generate test cases for this using SWT bot. I get the application to run using java (by executing the double click event). Then my application will generate the UI of and I want to recognize this UI from SWT bot test class. How can I recognize this when the UI is up?
I have written a unit test by invoking the method that creates the UI separately, but this is an integration test in which i need to test the whole flow of the application similar to user experience.
thanks in advance