Mapping a Tag Rule to a Certify Class

In the Configuration tab of the Certify Web Interface Options tool, you can map a new tag to a Certify class or edit an existing tag. Also, you can set rules to determine if an object should be mapped to a class name. If no rules are set for an object, then the object is mapped to the specified Certify class.

When learning an application, the correct Certify class is assigned to each learned element according to its tag name and rules. If objects do not have classes mapped to them, they still appear in the Learned Objects tree of the Learn utility, but they are not imported into Certify.

To map a tag to a Certify class:

  1. From the Certify menu, select Configure > Web > Options.

    The Certify Web Interface Options tool opens.

  1. In the Certify Web Interface Options tool, click the Configuration tab.

The Configuration Tab opens.

  1. From the Configuration File drop-down list, select a configuration file.

    Remember that you cannot edit the default Factory configuration file.

  2. From the Configuration Rules pane, select a tag rule.

    The right pane displays the Class Mapping tab where you can map a tag rule.

  3. In the Class Mapping tab, click the New Class Mapping Rule button or right-click in the pane and select New.

    To edit an existing Caption page rule, right-click on a caption rule and select Edit or click the Edit Selected Class Mapping Rule.

    The New Rule or the Edit Rule dialog opens.

  4. From the Attribute drop-down list, select one of the following attributes:
  5. ALT
  6. CLASSNAME
  7. ID
  8. INNERHTML
  9. INNERTEXT
  10. NAME
  11. OUTERHTML
  12. OUTERTEXT
  13. TITLE
  14. From the Criteria drop-down list, select one of the following criteria:
  15. Is Equal To
  16. Starts With
  17. Contains
  18. Ends With
  19. Is Not Equal To
  20. Does Not Start With
  21. Does Not End With
  22. From the Value drop-down list, enter a value or select one of the following values:
  23. {ANY}
  24. {EMPTY}
  25. Click OK.

    The new rule or edited rule appears in the Class Mapping tab.

  26. Click Save.

 

Related Topics Link IconRelated Topics