abbot.editor.recorder

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » abbot 1.0.1 » abbot.editor.recorder 
abbot.editor.recorder
Provide recording support for component-specific user actions. Recorders capture a raw event stream and turn it into a {@link abbot.tester.ComponentTester} action method. This group of classes is designed to recognize and capture a distinct semantic event from basic OS events as they are generated by the system or the user. For example, the {@link abbot.editor.recorder.AbstractButtonRecorder} waits for button press, release, and click events in any class derived from {@link javax.swing.AbstractButton} in the tested GUI, saving them as a "Click" action (which is provided by the base {@link abbot.tester.AbstractButtonTester} class).

Each unique class of GUI component can have its own recorder class derived from {@link abbot.editor.recorder.ComponentRecorder}. This class provides a framework for parsing basic input events into a conception action on a given component class. For example, {@link abbot.editor.recorder.JComboBoxRecorder} converts a user's combo selection into a script step encapsulating the {@link abbot.tester.JComboBoxTester#actionSelectIndex(Component,int index)} method to perform a combo box selection.

Recorders are used within the script editor by {@link abbot.editor.recorder.EventRecorder}, but the that class is designed for use by any framework that wishes to capture and parse events.

Java Source File NameTypeComment
AbstractButtonRecorder.javaClass Record basic semantic events you might find on an AbstractButton.
AbstractInternalFrameWatcher.javaClass
AbstractRecorderFixture.javaClass Provide generic support for checking contents of recorded steps.
AbstractSemanticRecorderFixture.javaClass All SemanticRecorder tests should derive from this class.
ButtonRecorder.javaClass Record simple clicks on a Button component.
CaptureDragDropTest.javaClass Verify capture of various Drag/Drop operations.
CheckboxRecorder.javaClass Record basic click a Checkbox component.
ChoiceRecorder.javaClass Record basic semantic events you might find on an Choice component.
ChoiceRecorderTest.javaClass Unit test to verify proper capture of user semantic events on a Choice.
ComponentRecorder.javaClass Record basic semantic events you might find on any component.
ComponentRecorderTest.javaClass Unit test to verify proper capture of basic user semantic events.
ContainerRecorder.javaClass Record basic semantic events you might find on an Container.
DialogRecorder.javaClass Record basic semantic events you might find on an Window.
DialogRecorderTest.javaClass Unit test to verify proper capture of user semantic events on a Dialog.
EventRecorder.javaClass Provides recording of raw AWT events and high-level semantic events.
EventRecorderTest.javaClass Unit test to verify proper capture of multiple user semantic events when parsed from a continuous event stream. TODO: feed the event recorder one or more canned event sequences with the expected results.
FileDialogRecorder.javaClass Recorder for the java.awt.FileDialog.
FileDialogRecorderTest.javaClass Unit test to verify proper capture of user semantic events on a FileDialog.
FrameRecorder.javaClass Record basic semantic events you might find on an Window.
FrameRecorderTest.javaClass Unit test to verify proper capture of user semantic events on a Frame.
JComboBoxRecorder.javaClass Record basic semantic events you might find on an JComboBox.
JComboBoxRecorderTest.javaClass Unit test to verify proper capture of user semantic events on a JComboBox.
JComponentRecorder.javaClass Record basic semantic events you might find on an JComponent.
JComponentRecorderTest.javaClass Test recording of JComponent-specific events.
JInternalFrameRecorder.javaClass Handle the recording of events related to an internal frame (JInternalFrame).
JInternalFrameRecorderTest.javaClass Unit test to verify proper capture of user semantic events on a Window.
JListRecorder.javaClass Record basic semantic events you might find on an JList.
JListRecorderTest.javaClass Unit test to verify proper capture of user semantic events on a JList.
JMenuItemRecorder.javaClass Override AbstractButton behavior, since we expect to grab a menu selection instead of a click.
JTabbedPaneRecorder.javaClass Record basic semantic events you might find on an JTabbedPane.
JTabbedPaneRecorderTest.javaClass Unit test to verify proper capture of user semantic events on a JTabbedPane.
JTableRecorder.javaClass Record basic semantic events you might find on an JTable.
JTableRecorderTest.javaClass Unit test to verify proper capture of user semantic events on a JTable.
JTextComponentRecorder.javaClass Record basic semantic events you might find on an JTextComponent.
JTextComponentRecorderTest.javaClass Test recording of JTextComponent-specific events.
JTreeRecorder.javaClass Record basic semantic events you might find on an JTree.
JTreeRecorderTest.javaClass Unit test to verify proper capture of user semantic events on a JTree.
Recorder.javaClass The Recorder provides a mechanism for recording an event stream and generating a sequence of script steps from that stream.

NOTE: when writing a recorder, be very careful not to test for platform-specific behavior, and avoid being susceptible to platform-specific bugs.

RecordingFailedException.javaClass
SemanticEvents.javaInterface Provide mnemonic constants for different types of semantic events.
SemanticRecorder.javaClass Template for recording AWTEvents and converting them into an appropriate semantic event.
WindowRecorder.javaClass Record basic semantic events you might find on an Window.
WindowRecorderTest.javaClass Unit test to verify proper capture of user semantic events on a Window.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.