TestMaker includes a library of example agents showing practical ways of creating and using unit tests, TestScenarios, the supported scripting languages and the TestMaker environment. The agents are found in the testmaker_home/example_agents/ directory.
| Directory | Description |
| testgen4web_examples | Examples using the integrated SpikeSource TestGen4Web Firefox add-on to record a unit test by watching you use a Web application. |
| soapui_examples | Examples using the integrated visual Eviware soapUI utility to create a TestScenario and unit test of SOAP-based Web services. |
| dplExample | Examples using Data Production Libraries (DPLs); classes to provide tests with dynamic data from files, comma separated value (CSV) files, databases, and other services at test run time. |
| notificationsExample | Notification examples; an optional element of a TestScenario allowing users to use email to track tests. |
| rubyExample | Example unit tests using the JRuby dynamic scripting language. |
| XQuery | Examples using XQuery and XPath expressions. |
The example_agents directory also contains several Jython scripts demonstrating the protocol handlers available in the Test Object Oriented Library (TOOL).
| File Name | Description |
| ChartResults.py | Using the Meters and Charts tab of the Output window to visualize the results of a test. |
| Gestalt.py | Referencing system and environment parameters. |
| HTTP_Example.py | Interoperating with Web sites using HTTP and HTML protocols. |
| HTTPS_SSL_Reference.py | Configuring X509 Digital Certificates for HTTPS communication. |
| Lingo_Example.py | Using Lingo; an English-like gibberish suited for content of a posted message. |
| Mail_Examples.py | Using the Mail protocol handler to send and receive email messages using SMTP, POP3 and IMAP protocols. |
| MultiPartforms_Example.py | Making multipart form submits to a host, including uploading files. |
| SOAP_Message_Example.py | Interoperating with SOAP-based Web Services using Document-literal encoding. |
| SOAP_RPC_Example.py | Interoperating with SOAP-based Web Services using SOAP RPC encoding. |
| TryPause.py | Using the Pause button from within a test agent script. |
| xDB_meister.py | Using a relational database to receive or record data using a JDBC driver. |
| XQuery directory | Processing XQuery and XPath script. |
|