Administering PTF

This chapter discusses how to:

Click to jump to parent topicManaging PTF Logs

This section provides an overview of PTF Log Manager and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Log Manager

Over time, as you run tests, you will create a number of test logs. Because they reside in your application database, test logs, especially those containing many screen shots, can affect the storage demands on your database. PTF Log Manager enables you to minimize this demand and remove clutter from PTF Explorer.

To help you decide which logs to remove from your database, Log Manager lists log entries from the test environment based on the criteria you specify. If all the fields are empty, then Log Manger lists all the logs in an environment that were created within the specified date range. The default date range is the current date.

To access the Log Manager, select Select Tools, Log Manager.

Note. Only an administrator (a user ID with the PTF Administrator role) is able to open Log Manager.

This example shows the PTF Log Manager:

Click to jump to top of pageClick to jump to parent topicUsing Log Manager Fields

Log Manager has these fields:

Folder / Test

Folder Path

Browse to a folder in PTF Explorer. If a folder is specified, the system retrieves only the logs in that folder, including subfolders. If no folder is specified, the system retrieves all logs in the environment.

Test

The system retrieves the logs associated with the selected test. The drop-down list is restricted to the tests in the folder specified in Folder Path.

Criteria

Log Folder

Select a log folder. Log folders associated with the selected test are available in the list.

No. Logs to Keep by Folder (number of logs to keep by folder)

Select the number of logs to remain in the folder. For instance, if the folder contains six logs and you specify three, then the three newest logs will be retained (that is, they will not be included in the list as candidates for deletion) and the three oldest logs will be retrieved.

Date Range

The system retrieves only logs created within the date range.

Extra Options

Bypass Selection

Select to perform the selected action on all log entries listed according to the criteria, regardless of user selections.

Use Start Time

Select and enter a value to start the process at the designated time.

Click to jump to top of pageClick to jump to parent topicUsing Log Manager Buttons

Log Manager has these buttons:

Retrieve

Select to populate the selection pane based on the specified criteria.

Delete

Select to delete the selected logs.

Undelete Log

Select to cancel logs marked for deletion. When you click Delete, the selected logs are only marked for deletion. They are not removed from the database until you click Purge Log. Until then, you can undelete logs.

Purge Log

Select to remove selected logs from the database if they are marked for deletion.

Click to jump to top of pageClick to jump to parent topicUsing the Selection Pane

When you click Retrieve, the system populates this pane with logs based on the criteria you specified. Using the check boxes, select the logs that will be processed when you click Delete, Undelete Log, or Purge Log.

Click to jump to top of pageClick to jump to parent topicUsing the Trace Pane

The trace pane displays a history of processing actions for this session.

Click to jump to parent topicMigrating PTF Tests

Because PTF tests and test cases are PeopleTools managed objects, they can be copied from one database to another in the same way as other PeopleTools objects, such as record definitions, SQL definitions, and PeopleCode programs.

You can create a project in Application Designer that includes tests and test cases and export the project to another database using the Copy Project tool.

You can also include tests and test cases in an upgrade project.

See Also

Working With Projects