Work with tests in Solution Manager in Standalone Mode

This task describes how to work with GUI tests directly to your Solution Manager database and how to open them.

Save a test in standalone mode

  1. In UFT, create or open a test.

  2. From UFT, connect to a Solution Manager server. UFT connects to Solution Manager in standalone mode. For user interface details, see Solution Manager Connection Dialog Box.

  3. In UFT, select File > Save As. The Save GUI Test to Solution Manager dialog box opens.

    Note: If you defined a New test prefix in the SAP Solution Manager pane of the Options dialog box, the dialog box displays the defined prefix.

  4. Do one of the following

    • To save a test directory to the file system, click File System.. The Save Test dialog box opens.

    • To save the test to Solution Manager, enter the required information and click OK. For details on the user interface, see Save GUI Test to Solution Manager Dialog Box. When the save process finishes, the status bar displays the word Ready, and the test is saved to the local package ($TMP) in Solution Manager. When the save process is complete, the UFT title bar displays the test information in the following format:

      [Solution Manager] TestName: Version Number (Mode)

Back to top

Open a test from Solution Manager in standalone mode

  1. Connect to a Solution Manager server.

  2. In UFT, select File > Open > Test to open the test. The Open GUI Test from Solution Manager Dialog Box opens.

    Note: The Open GUI Test from Solution Manager dialog box opens when UFT is connected to a Solution Manager server. To open a test directly from the file system while you are connected to Solution Manager, click the File System button to open the Open Test dialog box.

  3. Enter the required information and click OK.

    When the test opens, the UFT title bar displays the test information in the following format:

    [Solution Manager] TestName: VersionNumber (Mode)

Back to top

Upload external resource files to Solution Manager

  1. Create and save the resource file in the file system.

  2. Connect to Solution Manager.

  3. Select File > Upload File to Solution Manager option. The Upload File to Solution Manager Dialog Box opens.

  4. Browse or enter the file path of the Local file you want to upload.

  5. Specify the Solution name and Version number you want to assign to the uploaded file.

  6. Associate the uploaded file with your test in the appropriate UFT dialog box.

Back to top

Create a new shared object repository in Solution Manager

  1. Open a blank test.

  2. Select Resources > Object Repository Manager and add test objects as needed.

  3. Select File > Save. The Save External File to Solution Manager Dialog Box opens.

  4. In the File name field, enter the name you want to use for the shared object repository according to the naming conventions of the Solution Manager server. For example, if your Solution Manager server requires all file names to begin with z, save the file in the following format: z<filename>. For example: zSOR_dwdm

  5. In the File version field, enter the version number you want to use for the shared object repository.

  6. If a warning message opens, click Yes to create the new object repository file in Solution Manager.

Back to top

Copy or export an object repository to Solution Manager

  1. Open the test whose object repository you want to copy or export.

    Note: If you are exporting objects from a local object repository:

    • You must select the action whose object repository you want to export.

    • The object repository name must contain at least 14 characters.

  2. Select one of the following:

    • Resources > Object Repository Manager to open the shared Object Repository Manager.

    • Resources > Object Repository to open the local Object Repository for the selected action.

  3. Do one of the following:

    • In the shared Object Repository Manager, select File > Save As to save a copy of the object repository file with a new name in Solution Manager.

    • In the Object Repository Window, select File > Export Local Objects to export the object repository to a shared object repository file in Solution Manager.

    The Save External File to Solution Manager Dialog Box opens.

  4. Enter the required information and click OK.

Back to top

Create a new recovery file in Solution Manager

  1. Select Resources > Recovery Scenario Manager. The Recovery Scenario Manager opens.

  2. Click the New Scenario button. The Recovery Scenario Wizard opens. Follow the instructions in the wizard to create a new scenario. When you are finished, the scenario is displayed in the Recovery Scenario Manager

    To add more scenarios to the new scenario file, repeat this step.

    When you are ready to save the scenario file, click Save. The Save External File to Solution Manager Dialog Box opens.

  3. Enter the required information and click OK.

Back to top