abbot.script

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.script 
abbot.script
Provides basic elements for constructing a test script. A {@link abbot.script.Step} is the basic unit of execution. Steps may be grouped into a {@link abbot.script.Sequence}. See the documentation for {@link abbot.script.Step} for information on extending script features.

Following are some of the basic elements of a {@link abbot.script.Script}:

  • Invoking Code
    Usually you will have a single Launch step at the beginning of your script to load and activate your GUI under test. See the Launch class for details.
  • Component Reference
    This entry is not an actual script step, but a representation of an actual component within the GUI. The ComponentReference ID may be used in argument lists where a java.awt.Component would normally be expected. See the {@link abbot.script.ComponentReference} class for details.
  • Action
    This type of step invokes a semantic user action on the GUI, such as a mouse clickk, menu selection, or drag/drop action. Different actions are supported by different GUI components. All actions supported may be found in the APIs for the {@link abbot.tester.ComponentTester} and its subclasses. See the {@link abbot.script.Action} class for details.
  • Assert
    This type of step tests for a condition in the GUI, such as whether a Component property matches a particular value, or it might invoke a custom test exported by a ComponentTester class. See the Assert class for details.
  • Wait
    This type of step simply waits for an Assert to become true, with an adjustable timeout and sleep cycle. See {@link abbot.script.Assert#setWait(boolean)} for details.

Java Source File NameTypeComment
Action.javaClass Encapsulate an action.
ActionTest.javaClass
Annotation.javaClass Provides a method for communicating a message on the display.
AnnotationTest.javaClass
AppClassLoader.javaClass A custom class loader which installs itself as if it were the application class loader.
AppClassLoaderTest.javaClass Verify AppClassLoader operation.
AppletSecurityManager.javaClass This security manager extends sun.applet.AppletSecurity b/c AppletViewer does some casts that assume that is the only security manager that will be installed.
Appletviewer.javaClass Provides applet launch capability.
AppletviewerTest.javaClass
ArgumentParser.javaClass Provide parsing of a String into an array of appropriately typed arguments.
ArgumentParserTest.javaClass Test ArgumentParser functions.
Assert.javaClass Encapsulate an assertion (or a wait).
AssertTest.javaClass
Call.javaClass Class for script steps that want to invoke a method on a class.
CallTest.javaClass
Comment.javaClass Represents a comment.
ComponentReference.javaClass Encapsulate as much information as is available to identify a GUI component.
ComponentReferenceTest.javaClass Verify various ComponentReference requirements.
Condition.javaInterface
Event.javaClass Script step to generate a single AWT event to a component.
EventExceptionHandler.javaClass
Expression.javaClass Provides evaluation of arbitrary Java expressions.
ExpressionTest.javaClass
Fixture.javaClass Provides a method of defining a single script as the UI application test context for multiple scripts.
FixtureTest.javaClass
ForkedStepRunner.javaClass A StepRunner that runs the step in a separate VM.
ForkedStepRunnerTest.javaClass Verify the sequence works as advertised.
Interpreter.javaClass Provides a BeanShell interpreter customized for the Costello scripting environment.
InvalidScriptException.javaClass Exception to indicate the script being parsed is invalid.
Launch.javaClass Provides scripted static method invocation.
LaunchTest.javaClass
NoSuchReferenceException.javaClass Exception to indicate a Component reference does not exist.
PropertyCall.javaClass Provides support for using property-like methods, including select non-static method access to Components.
PropertyCallTest.javaClass
Resolver.javaInterface Interface to provide a general context in which tests are run. Includes ComponentReferences, current gui hierarchy, properties, and a working directory.
Sample.javaClass Encapsulate capture of a value.
SampleTest.javaClass
Script.javaClass Provide a structure to encapsulate actions invoked on GUI components and tests performed on those components.
ScriptFilter.javaClass
ScriptTest.javaClass Verify the script works as advertised.
Sequence.javaClass Script step which groups a sequence of other Steps.
SequenceTest.javaClass Verify the sequence works as advertised.
Step.javaClass Provides access to one step (line) from a script.
StepEvent.javaClass
StepListener.javaInterface Listener for script step feedback.
StepRunner.javaClass Provides control and tracking of the execution of a step or series of steps.
StepRunnerTest.javaClass
StepTest.javaClass
Terminate.javaClass Placeholder step to indicate to a script that it should terminate.
UIContext.javaInterface Provides generic support to set up and tear down a UI context or fixture.
XMLConstants.javaInterface Attributes used by script steps and component references.
XMLifiable.javaInterface
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.