ITPub博客

首页 > Linux操作系统 > Linux操作系统 > About Working with Application Areas

About Working with Application Areas

原创 Linux操作系统 作者:ipqiaojj 时间:2009-03-14 16:32:40 0 删除 编辑

About Working with Application Areas

When you create a set of components to test a particular area of your application, you generally need to work with many of the same test objects, keywords, testing preferences, and other testing resources, such as function libraries and recovery scenarios. You define these files and settings in an application area, which provides a single point of maintenance for all elements associated with the testing of a specific part of your application.

An application area is a collection of settings and resources that are required to create the content of a business component. Resources may include shared object repositories containing the test objects in the application tested by the component, function libraries containing user-defined operations performed on that application by the component, and so forth. Components are automatically linked to all of the resources and settings defined in the associated application area.

You can create as many application areas as needed. For example, you may decide to create an application area for each Web page, module, window, or dialog box in your application. Alternatively, for a small application, one application area may be all that is needed. Each component can have only one associated application area.

Note: To work with application areas, you must have the required permissions for modifying components, and adding, modifying, and deleting steps. All four permissions are required. If one of these permissions is not assigned, you can open application areas only in read-only format. For more information on setting permissions in the Business Components module, refer to the HP Business Process Testing User's Guide.

Planning an Application Area

Before you create an application area, consider the requirements of Subject Matter Experts that will use the application area to create business components. For example:

  • What test objects will they need?
  • How will you rename the test objects and other items so that their meanings are clear to a wide range of users?
  • What user-defined functions can you add to ensure that all required operations are available?

To ensure availability, it is recommended that these function libraries be saved in the Quality Center project before creating the application area, although you can update an application area at any time. QuickTest also provides you with a set of predefined resource files that you can associate with the application area, for example, function libraries and a recovery scenario file. Some of the sample function libraries are associated with all new application areas by default. These sample files are located in the Test Plan module of your Quality Center project under Subject/BPT Resources.

Creating an Application Area

When you create an application area to be used by components, you must perform. the following tasks:

  • Provide a full description of the application area
  • Specify associations to any QuickTest Professional add-ins
  • Associate any required function libraries
  • Associate any required shared object repositories
  • Specify which keywords will be visible and available for use by Subject Matter Experts when creating component steps
  • Specify the Windows-based applications on which components associated with the application area can record and run
  • Associate any required recovery scenarios and define their settings
  • Save the application area

When you save the application area, make sure that you provide it with a meaningful name and a clear description. When a Subject Matter Expert creates a new business component, the name and description provide the only indication of the intended use of the application area. For example, if an application area is intended for components that test a login dialog box, you might name it "LoginDialog".

Working with an Application Area

After you create an application area, you can notify the Subject Matter Experts so that they can begin using it to create business components. (If necessary, Subject Matter Experts can start to create a component before the application area is ready, and only later associate the application area with the component.)

If you modify resources or settings in an application area, these changes are reflected automatically in all of the business components associated with the modified application area.

If resources are used in component steps, and you later modify these resources, your component may not run correctly. For example, if a component uses test objects from the MyRepository.tsr shared object repository, and you remove this object repository from the application area, the component will not be able to access the required test objects because the object repository is no longer included in the application area.

For this reason, it is recommended to ensure that any changes you make to an application area will not adversely affect the business components with which the application area is associated.

Tip: You can associate a component with a different application area at any time. For more information, see Changing the Application Area Associated with a Component.

Creating an application area comprises the following steps:

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16792402/viewspace-567340/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-02-22

  • 博文量
    140
  • 访问量
    73285