Hey Ketan,

 > +1.

Glad you share the interest!

> There's two issues in the new feature request that you mention here:
> 1. maintaining state about the active window.
> 2. being able to send events using display.post for certain types of 
> events and widget.notifyListeners for some other types of listeners.

Do you know offhand which events require special casing?  (And are there tests?)

> I do have some ideas about internally maintain some information about 
> the active shell:
> 1. Add a display filter (or listener) that keeps track of the active shell.
> 2. Have the user *explicitly* declare the active shell whenever the user 
> expects the shell to change, e.g. after clicking finish on some dialog.
> 
> There could be more to this list.

I have some ideas on this too...  Do you have any test cases committed?  If 
not, 
would you be interested in collaborating on some?

> However the one thing that does get into the way of checking emails 
> while running tests is the fact that new swt windows always open up in 
> the foreground, and there's no way for SWTBot to open them up in a 
> 'minimized' state.

This is an interesting point.  I wonder how this is done and whether we can 
intercept and override this default behavior.  I'll poke around --- ultimately 
this may be a question for the SWT gurus.  (Have you talked to them about this 
BTW?)

> Reg being able to send events using display.post and 
> widget.notifyListeners, I think something like Simon Stewart's Webdriver 
> (http://code.google.com/p/webdriver/) might be of help.
> 
> Webdriver is slated to become selenium 2.0, and does a lot of ground 
> breaking stuff. It uses specific implementations for a particular os, 
> and browser implementation. This allows drivers to do something 
> different with each browser/os implementation. I feel this is one way 
> that SWTBot could take in order to do stuff across platforms, since that 
> is the only other way to go about things.

+1.  A library of native eclipse drivers would be a great boon.  Is this 
something anyone is actively researching?


Thanks!


-phil


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to