Rational® ClearCase®

When you use Rational® ClearCase® with Rational® Functional Tester, you have a choice of snapshot or dynamic views with Rational® ClearCase®. There are advantages and disadvantages to each view.

You must purchase and install Rational® ClearCase® to use the integration with Rational® ClearCase®. A snapshot view contains copies of Rational® ClearCase® versions and other file system objects in a directory tree on a local system. Dynamic views use, create, and maintain a directory tree that contains versions of VOB elements and view-private files.

Advantages and disadvantages of snapshot views

The advantages of using a snapshot view with Rational® Functional Tester are:

  • Only the scripts that you change compile when you record or play back a script so the performance can be faster than a dynamic view.

The disadvantages of using a snapshot view are:

  • Files are not updated automatically. You must remember to get the latest files from the VOB on a regular basis or changes that others check in can break your script. Updating once a day is probably enough, depending on your particular team's needs.
  • A snapshot view uses a lot of disk space on your local hard disk drive because a snapshot view copies every file in the Functional Test project to your local hard disk drive.

Advantages and disadvantages of dynamic views

The configuration specification that you use can affect the following advantages and disadvantages of a dynamic view .

The advantages of using a dynamic view with Rational® Functional Tester are:

  • Files do not take a large amount of disk space on the local machine because only the files that you check out or create exist on your local hard disk drive.
  • Files in a dynamic view are always current with the VOB. You do not have to remember to get the latest files from the VOB as you do in a snapshot view.

The disadvantages of using a dynamic view with Rational® Functional Tester are:

  • In a large team, when many users change scripts, it may take a long time for all the changes to compile when you record or play back a script.

    Rational® Functional Tester, Eclipse Integration, compiles the project when an element changes. If you are using a dynamic view, automatic compilation can be time consuming, depending on the size of the project. To disable this feature, click Window > Preferences and clear the Build automatically check box. Rational® Functional Tester, Microsoft Visual Studio .NET Integration, does not automatically compile the project when an element changes.