Bug 38438 - Programmatically clicking on, typing in, and focusing on Widgets
Summary: Programmatically clicking on, typing in, and focusing on Widgets
Status: RESOLVED DUPLICATE of bug 15025
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 37704
  Show dependency tree
 
Reported: 2003-06-04 16:24 EDT by Kevin T Dale CLA
Modified: 2003-06-18 08:36 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin T Dale CLA 2003-06-04 16:24:49 EDT
We are currently working on integrating Abbot, a Java GUI testing framework 
originally intended for AWT, for use with SWT to allow for whitebox testing of 
SWT GUIs.  There currently exist a number of such tools for AWT, but SWT can 
claim none (as far as I know).  And although SWT is superior to AWT in many 
respects, it clearly falls short of its competitor in this arena.  To even the 
field and extend Abbot to SWT, we need the capability to programmatically 
manipulate SWT Widgets in a manner that mimics the user.      

Specifically, we would like to request a set of methods, that, when given an 
instance of an SWT Widget, can:  
	1) click on the Widget;
	2) type in the Widget;
	2) give focus to the Widget;
and, in general, generate any basic action to which a generic Widget can 
respond.  Then, complex test simulations can be created from combinations of 
these basic actions and those already provided by the SWT API, to allow for the 
sort of automated testing that we're looking for.
Comment 1 Steve Northover CLA 2003-06-17 17:40:21 EDT
Can you use the AWT robot API to generate events in the operating system?  
This item is not on the Eclipse 3.0 plan.
Comment 2 Steve Northover CLA 2003-06-17 17:43:44 EDT

*** This bug has been marked as a duplicate of 15025 ***
Comment 3 Tom Roche CLA 2003-06-17 18:05:30 EDT
Steve Northover  2003-06-17 17:40
> Can you use the AWT robot API to generate events in the operating
> system? This item is not on the Eclipse 3.0 plan.

<sigh/> I guess we'll hafta try ...