Bug 114159 - [RCP] Support RCP applications for recording and playing back GUI test cases
Summary: [RCP] Support RCP applications for recording and playing back GUI test cases
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement with 66 votes (vote)
Target Milestone: ---   Edit
Assignee: DuWayne Morris CLA
QA Contact:
URL: http://www.eclipse.org/tptp/groups/Ar...
Whiteboard:
Keywords: helpwanted
Depends on: 109880
Blocks:
  Show dependency tree
 
Reported: 2005-10-28 13:51 EDT by amehrega CLA
Modified: 2016-05-05 11:08 EDT (History)
47 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amehrega CLA 2005-10-28 13:51:03 EDT
I've found that a common feature that users ask for is to have support in
recording and playing back test cases in an RCP application.

The general dependence of the test framework on the IDE environment has to be
investigated.  Based on this investigation, further enhancements may need to be
opened to eliminate some of the test components dependence on the IDE environment.

Users may not get the full advantage of the test framework in an IDE environment
but they should generally be given a fairly consistent user interface to record
and playback test cases.
Comment 1 amehrega CLA 2005-11-09 13:05:37 EST
Declaring a dependency on 109880
Comment 3 Paul Slauenwhite CLA 2005-11-15 12:31:15 EST
Both RCP and stand-alone SWT applications would be beneficial.
Comment 4 Ed Burnette CLA 2005-12-09 00:25:47 EST
Could this technology be used for general record/playback ("macros") in Eclipse, like in bug 8519?
Comment 5 wang xiao qing CLA 2005-12-09 01:36:29 EST
(In reply to comment #4)
> Could this technology be used for general record/playback ("macros") in
> Eclipse, like in bug 8519?

Hi,I don't think this new feature can only be used in Eclipse frameword.We really hope this feature can support us in not only Eclipse,but also some other Application Framework such as IE and Mozela.Thanks ! I really hope more people will vote for it!
Comment 6 Christophe Telep CLA 2005-12-09 10:39:08 EST
proposed to be planned for 4.2 but no resources are available (helpwanted keyword added)
Comment 7 Christophe Telep CLA 2005-12-09 12:19:03 EST
Target set to 4.2
Comment 8 Ricardo Garcia CLA 2006-06-08 17:54:20 EDT
Hi My company has a RCP application that would benefit greatly from this product enhancement.  The tool looks good and I can't wait to use and have my developers use verification hooks to test new UI features.

Thanks, 
Ricardo Garcia
Comment 9 Christophe Telep CLA 2006-06-28 02:49:27 EDT
helpwanted for 4.3
Comment 10 Ricky Ng-Adam CLA 2006-07-14 09:09:45 EDT
At the moment, we are using WindowTester where I work:

http://www.instantiations.com/rcpdeveloper/index.html

Would fixing this bug result in functionnality similar to that commercial product?

We have had some amount of success but it is a bit painful and does not track every event at the moment.  

We also don't just record entire "acceptance tests" for the application but unit test each dialog which is more useful because there is too much setup otherwise - the test becomes too complicated.
Comment 11 Aaron Digulla CLA 2006-07-14 15:28:40 EDT
Since JFace apps are mostly based on actions, adding a recording API to Action might already get some way where we need to be.

I mean, there is no need to actually click the buttons (determining their position, sending mouse events, etc).

I'm thinking about something like the Java logging API or maybe even (ab-)using the logging API to record events.

But we would need to spread Action everywhere (for example, into Dialog und subclasses).

The next step would be to add this API to all the SWT classes like Text, StyledText, Tree, etc, so they could record events.
Comment 12 Scott E. Schneider CLA 2006-09-07 12:07:53 EDT
Based on feedback from our EclipseWorld 2006 TPTP Automated Services Framework talk -- RCP support was stressed as very important from our students.
Comment 13 Mark Levison CLA 2006-09-26 12:51:06 EDT
As part of this bug I would like a way of simulating mouse and keyboard events within test cases. Both as part of automated acceptance tests but also part of rolling some GUI testing into my unit tests.
Comment 14 George Sebastian CLA 2006-12-22 02:00:51 EST
Can I expect this feature in next release of TPTP
Comment 15 wang xiao qing CLA 2006-12-22 02:32:35 EST
Whether the Scirpt recorded for GUI test case can be integrated with the URL test script,that is to say, we can test the URL command and IE interface(GUI object) in the same test case. Not sure whether the execution mechanisms of GUI test and URL test,can anyone help to explain it to me? Thanks.
Comment 16 Aaron Digulla CLA 2006-12-22 04:07:42 EST
(In reply to comment #15)
> Not sure whether the execution mechanisms of GUI
> test and URL test

This sentence makes no sense. What are you talking about? :-)

Comment 17 Paul Slauenwhite CLA 2006-12-22 07:03:08 EST
(In reply to comment #15)

In TPTP, you currently cannot mix test types (https://bugs.eclipse.org/bugs/show_bug.cgi?id=123277).
Comment 18 Paul Slauenwhite CLA 2006-12-22 07:09:32 EST
(In reply to comment #14)

We are still working through the TPTP 4.4 planning cycle (http://dev.eclipse.org/mhonarc/lists/tptp-pmc/msg02658.html) but this feature is one of the higher priority features for 4.4 since TPTP needs to automated our RCP Log Analyzer and RCP Symptom Database Editor.  However, including this feature is a question of resources which we are still in the process of planning.  

Would you or CA be interested in contributing resources for this feature?

Comment 19 George Sebastian CLA 2007-01-04 23:58:15 EST
Hi Paul,

I have discussed your query with the management team over here.
I am unhappy to say at this point of time me or CA will not be able to contribute towards this feature.
Comment 20 Paul Slauenwhite CLA 2007-03-14 14:27:06 EDT
Updating target to future as requested by the PMC.  

Enhancements are targeted to future if not in plan for the current release.
Comment 21 Paul Slauenwhite CLA 2007-08-20 07:33:53 EDT
Reassigning to current component lead.
Comment 22 Paul Slauenwhite CLA 2007-11-05 12:01:20 EST
Correcting priority since not a 4.5 candidate enhancement (see http://www.eclipse.org/tptp/home/documents/process/development/bugzilla.html).
Comment 23 Paul Slauenwhite CLA 2007-12-10 12:10:14 EST
In TPTP 4.5, the AGR was moved from a Technology Preview component to an As-Is component. As-Is components are primarily provided for prior users but imply no support (for example, defects, news group, and mailing lists) or commitment to triage or resolve opened defects. For this defect to be considered, please re-open with an attached patch including code to resolve the symptom and test cases to test the fix.
Comment 24 Paul Slauenwhite CLA 2009-02-25 11:57:28 EST
Closing by default since not closed by the originator in the 7+ months since
being resolved.  

Please reopen if the issue is still present in the latest TPTP release or the
resolution is not correct.