Scroll an eclipse view using SWT BOT [message #1016522] |
Wed, 06 March 2013 13:41  |
Eclipse User |
|
|
|
My Perspective has multiple views.
1st View - Criteria form at the top
2nd View - Results form in the bottom.
The first view which is a criteria form needs to be scrolled so that i can set values to the controls displayed on that form.
Is there a way to accomplish this using SWT-BoT.
|
|
|
|
Re: Scroll an eclipse view using SWT BOT [message #1016672 is a reply to message #1016649] |
Thu, 07 March 2013 05:18  |
Eclipse User |
|
|
|
I have some swtbot tests acting on a form inside a ScrolledComposite,
and, as far as I remember, I can access widgets in the form with swtbot
even if they are not visible in the running eclipse instance...
cheers
Lorenzo
On 03/07/2013 10:14 AM, Rüdiger Herrmann wrote:
> Anthony,
>
> do you use a ScrolledComposite in your 'criteria form'? If so, there is
> currently no bot for ScrolledComposite (i.e. SWTBotScrolledComposite).
> You can either write a custom bot or just try without. Did you actually
> try to let SWTBot set values without scrolling the widgets into view?
>
> HTH
> Rüdiger
>
> On 06.03.2013 19:41, Anthony Ghonsalves wrote:
>>
>> My Perspective has multiple views. 1st View - Criteria form at the top
>> 2nd View - Results form in the bottom.
>>
>> The first view which is a criteria form needs to be scrolled so that i
>> can set values to the controls displayed on that form.
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
|
|
|
Powered by
FUDForum. Page generated in 0.02906 seconds