the differences between local and shared object repositories

来源:互联网 发布:java解析json 编辑:程序博客网 时间:2024/06/10 09:42

In general, the local object repository is easiest to use when you are creating simple tests, especially under the following conditions:

  • You have only one, or very few, tests that correspond to a given application, interface, or set of objects.
  • You do not expect to frequently modify object properties.
  • You generally create single-action tests.

Conversely, the shared object repository is generally the preferred option when:

  • You are creating tests using keyword-driven methodologies (not by recording).
  • You have several tests that test elements of the same application, interface, or set of objects.
  • You expect the object properties in your application to change from time to time and/or you regularly need to update or modify object properties.
  • You often work with multi-action tests and regularly use the Insert Copy of Action and Insert Call to Action options.

==================the following table doesn't associate with the title and I haven't understood the differences between object repository window and manager=============

 

The following table lists features and functionality, indicating if they are available in the Object Repository window or the Object Repository Manager:




Functionality

Object Repository window

Object Repository Manager

Adding Test Objects to a Local or Shared Object Repository


Y
 



 
Y

Copying, Pasting, and Moving Objects in the Object Repository



 
Y



 
Y

Deleting Objects from the Object Repository



 
Y



 
Y

Highlighting an Object in Your Application



 
Y



 
Y

Locating a Test Object in the Object Repository


Y
 



 
Y

Specifying or Modifying Property Values


Y
 



 
Y

Updating Identification Properties from an Object in Your Application


Y
 


Y
 

Restoring Default Mandatory Properties for a Test Object
Y



 


Y
 

Renaming Test Objects
Y



 

Y



 

Adding Properties to a Test Object Description
Y


Y
 

Defining New Identification Properties


Y
 

Y

 

Removing Properties from a Test Object Description


Y
 


Y
 

Exporting Local Objects to a Shared Object Repository



 
Y



 
N

Copying an Object to the Local Object Repository



 
Y


N
 

Creating New Object Repositories



 
N



 
Y

Opening Object Repositories


N
 



 
Y

Saving Object Repositories



 
N



 
Y

Closing Object Repositories


N
 



 
Y

Editing Object Repositories


N
 



 
Y

Adding Test Objects to Your Test Using the Object Repository Manager


Y
 


Y
 

Adding Test Objects Using the Navigate and Learn Option



 
N


Y
 

Managing Repository Parameters



 
N



 
Y

Adding Repository Parameters



 
N



 
Y

Modifying Repository Parameters


N
 


Y
 

Deleting Repository Parameters



 
N



 
Y

Specifying a Property Value


N
 



 
Y

Locating Test Objects


Y
 



 
Y

Performing Merge Operations



 
N



 
Y

Importing from XML



 
N


Y
 

Exporting to XML


N
 


Y
 

原创粉丝点击