XML Source Selection - Checkpoint / Output Value Properties Dialog Box

Relevant for: GUI tests and scripted GUI components

This dialog box enables you to specify the XML file or test object for which you want to insert an XML checkpoint/output value step.

To access
  1. Ensure that a GUI action or component is in focus in the document pane.
  2. Use one of the following:

    • For checkpoints: Select Design > Checkpoint > XML Checkpoint (From Resource)
    • For output values: Select Design > Output Value > XML Output Value (From Resource)
Relevant tasks

User interface elements are described below:

UI Elements

Description

Create checkpoint step from XML file
/ Create output value step from XML file

Specifies the file for which you want to insert a checkpoint/output value. In the box, you can:

  • Enter the URL or the file path of the XML file.

  • Click the browse button to open the Open XML File dialog box and navigate to the XML file. You can specify an XML file either from your file system or from ALM.

    Note: If you enter a relative path, ALM searches for the XML file in the folders listed in the Folders pane of the Options dialog box (Tools > Options > GUI Testing tab > Folders pane). After ALM locates the file, it saves it as an absolute path and uses the absolute path during the run session. For details, see Folders Pane (Options Dialog Box > GUI Testing Tab).

Create checkpoint step for test object
/ Create output value step for test object
  • Specifies an XML checkpoint/output value for a test object. From the list, select the test object.

  • You can select an existing WebXML or XMLFile test object type as long as the actual XML object is currently available (in an open browser or in the file system, as relevant).

    Note: Selecting a WebXML or XMLFile test object is identical to using the XML Checkpoint (From Application) or Create new checkpoint from file options, but may be faster than browsing to these objects and can be inserted while recording or editing. However, to use this option, the XML source must be available when you select the test object (the Web page must be open or the file must exist in the same location as when the test object was defined).

Tip: To select an object that is not displayed in the list, you can click Object from Repository . Then select a test object from the object repository on which to create a new checkpoint. The selected object must support XML (such as a WebXML test object). For details on selecting objects, see Select Test Object Dialog Box.