XF Definition

The eXtensibility Framework (XF) is used to extend Certify functionality for objects that require special handling by the Certify HTML interface. In the past, these customizations may have required changes to Certify for all customers. Below are a few points about programming fundamentals for Certify XF training.

HTML

What is HTML?

  • HTML stands for Hyper Text Markup Language
  • HTML is the standard markup language for creating Web pages
  • HTML describes the structure of a Web page
  • HTML consists of a series of elements
  • HTML elements tell the browser how to display the content
  • HTML elements label pieces of content such as “this is a heading”, “this is a paragraph”, “this is a link”, etc.

HTML Tags:

HTML tags contain three main parts: opening tag, content and closing tag. However, some HTML

tags are unclosed tags.

When a web browser reads an HTML document, the browser reads it from top to bottom and left

to right. HTML tags are used to create HTML documents and render their properties. Each HTML tag has different properties.

Syntax

content

HTML Attributes:

An attribute is used to define the characteristics of an HTML element and is placed inside the 

element’s opening tag. All attributes are made up of two parts − a name and a value 

● The name is the property you want to set. For example, the paragraph

element in 

the example carries an attribute whose name is align, which you can use to indicate the 

alignment of paragraphs on the page. 

● The value is what you want the value of the property to be set and always put within 

quotations. The below example shows three possible values of align attribute: left, 

center and right. 

Example:

This is left aligned

Core Attributes :

The two main HTML attributes used for XF definitions are − 

ID – The ID attribute of an HTML tag can be used to uniquely identify any element within 

an HTML page. 

ClassName / Class – The ClassName / Class attribute is used to associate an element 

style sheet and specify the class element.

Syntax 

1. parentElement.CLASSNAME 

2. parentElement.parentElement.CLASSNAME

HTML DOM (Document Object Model) 

The HTML DOM is a standard object model and programming interface for HTML. It defines: 

● The HTML elements as objects 

● The properties of all HTML elements 

● The methods to access all HTML elements 

● The events for all HTML elements

Certify eXtensibility Framework 

Certify eXtensibility Framework (XF) definitions are a set of object recognition properties and object relationship definitions that specify how the Certify Cross Browser web engine recognizes, locates, and interacts with complex web UI objects in web applications.

These XF definitions were created for objects that are not automatically recognized as defined Certify Web objects. Therefore, they would not be supported using the standard Certify Web object classes and actions. These definitions simplify complex objects so that Certify recognizes them, and processes are able to be created with a minimum number of steps.

Listed below are examples of complex objects:

  • Objects with dynamic attributes
  • Objects that do not match any existing Certify Web object class
  • A combination of individual objects that should be recognized and treated as a single object, such as a textbox or button that should be treated as a combo box
  • Object that contain a combination of objects
  • Unrecognized objects
  • Tables

Learning Applications with XF Definitions

Certify XF Web Learn identifies existing Extensibility Framework (XF) definitions in web applications and creates application maps that you are able to import into Certify.

To learn applications with XF definitions:

  • Open the application that you want to learn.
  • Open the utility from Certify by selecting Tools > Certify Interface Learn > Web from the menu
  • Certify XF Web Learn opens.
  • From the File menu, select Web Options.
  • The Certify Web Interface Options tool opens.
  • If not open, click the Global Settings tab.
Certify web interface options

Configuring Certify Web Interface Options

The Certify Web Interface Options tool allows you to configure the Learn configurations and eXtensibility Framework (XF) class definitions. All settings will be stored in the Worksoft Certify database.

The default definitions and configurations are used in:

  • Process execution
  • Certify LiveTouch

XF Definitions Files and Configuration Files

Before definition or configuration files can be used, they must first be imported into Certify with the Certify Web Interface Options tool.

Configuration options are a set of rules that specify how the Learn utility will learn the application page, as well as the following items:

  • Which object types to import
  • How to name the objects
  • Which Certify class to map elements
  • What attributes to use to recognize the object

Within the Global Settings tab in the Certify Web Interface Options tool, you are able to do the following tasks with both XF Definitions files and Configuration files by clicking on the appropriate buttons:

  • Import an XML file
  • Export an XML file
  • Create a new file
  • Create a new file with the Save As function
  • Delete a file
  • Rename a file
  • Set a file as default

After you have completed your configuration, click Close.

You now need to configure Certify XF Web Learn. In the lower right-hand corner of the Learn tool are Configuration options. If you do not see these options, click Options.

After you have completed your configuration, click Close.

After you have configured Certify XF Web Learn, you are ready to learn your application.

From the Certify XF Web Learn menu, click Learn.

The Learn utility begins processing, and the Learned Objects pane displays objects.

From the Certify XF Web Learn menu, click Learn.

The Learn utility begins processing, and the Learned Objects pane displays objects

Certify XF web learn

Objects with orange arrows are objects with XF definitions.

If you want to view the properties of a specific object, click on the object and the properties are displayed in the Properties pane.

Select File > Save Map to save your map.

Advantages of Certify XF learn:

  • Modern Cross Browser Engine
  • Modifiable configuration rules
  • Better Optimization for Web App

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *