Skip to Main Content
Return to Navigation

Creating Tests

This section discusses how to:

Creating a New Folder

Each test, along with the related test cases and logs, is stored in a folder in the PTF Explorer tree structure.

To create a new folder:

  1. In PTF Explorer, highlight the folder in which you want to create the new folder or highlight Home to create the folder at the root level.

  2. Select Create, Folder.

  3. Enter a new folder name.

  4. Click OK.

Note: Folder names must not contain the following characters:

space & ? / \ * < > ' "

Creating a New Test

To create a new test:

  1. Highlight a folder in PTF Explorer.

  2. Select Create, Test.

    The Test Editor launches with a new test.

  3. (Optional) In the Test Descr field, enter a description for the test case.

  4. (Optional) Click the Test Properties icon to enter a long description of the test case.

    It is a good practice to provide a good description for a test, such as a description of the product, feature, or business process being tested. Test names are limited in length and provide little information.

  5. (Optional) Click the Test Comment to add comments for the test.

  6. Select Test, Save or click the Save button in the toolbar.

  7. Enter a name for the new test.

  8. Click OK.

Naming Tests

These rules apply to test names:

  • Test names and test case names are limited to 30 characters in length.

  • Test names and test case names can consist of letters, numbers, and underscores, but they must begin with a letter.

  • PeopleSoft Test Framework (PTF) converts test names and test case names to uppercase.

  • Two tests in the same database instance must not have the same name, even if they reside in different folders.

    Because PTF data resides in the application database, conflicts may occur if PTF users or administrators attempt to copy tests or test cases from one database to another database containing tests or test cases with the same name.

Copying a Test

To copy a test:

  1. Highlight a test in the PTF Explorer.

  2. Select Edit, Copy or press CTRL-C to copy the test.

  3. Highlight the folder where the copy of the test is to be located.

  4. Select Edit, Paste or press CTRL-V to paste the test.

  5. Enter a name for the new test.

When you copy and paste a test the test cases are copied as well, but not the logs. When you cut and paste a test the logs are moved also.

Renaming a Test


A PTF Administrator or Editor can rename a test, however the test name must be unique to the database instance. A PTF User can only rename tests within the myFolder folder. Renaming a test or test case will update the test or test case name in all tests that make a call to the renamed test or test case.

To rename a test:

  1. Highlight a test in the PTF Explorer.

  2. Right-click and select Rename or select Edit, Rename from the menu.

  3. Enter the new name and click OK.

    The test is renamed.