Testing agents
About this task
You can test an agent in the following ways:
- For agents that do not call other agents, use the Test menu command.
- For agents that use LotusScript®, use the LotusScript debugger.
- For more complicated agents, create a test copy of the database you can work with before you work with the original database.
Parent topic: Adding automation to applications
Related concepts:
To use the Test menu command
Procedure
To use the LotusScript debugger
Procedure
To create a test database
About this task
You may wish to make a test copy of an existing database before working with the actual database.
For agents that have multiple steps or complex tasks, split the process into several smaller tasks and create an agent for each. Test and fix each smaller agent first. When everything is working correctly, combine the agents into one. Then test the agent again.
Note: Java agents have a console tool to which agents
can print messages. In Domino® Designer,
choose Tools - Show Java Debug
Console. In addition, you can use the remote debugging tool (Tools
- Remote Debugging), which allows remote debugging of the LotusScript in an agent
script and allows the monitoring of the execution of Java agents.