• No results found

TestDirector Version Control Add-in Installation Guide

N/A
N/A
Protected

Academic year: 2021

Share "TestDirector Version Control Add-in Installation Guide"

Copied!
12
0
0

Loading.... (view fulltext now)

Full text

(1)
(2)

Borland Software Corporation 100 Enterprise Way

Scotts Valley, California 95066-3249 www.borland.com

(3)

i

Contents

Chapter 1

Preface

1

Contacting Borland Support . . . 2

Documentation Conventions . . . 2

Chapter 2

Using the Add-In

3

Installing the StarTeam TestDirector Version Control Add-in . . . 4

Creating a TestDirector Project . . . 4

Running the StarTeam Add-in Setup . . . 5

Using Version Control with TestDirector . . . 6

Tips on Using the StarTeam Add-in . . . 6

Known Issues: TestDirector . . . 6

(4)
(5)

C h a p t e r 1 : P r e f a c e 1

C h a p t e r

1

Chapter 1

Preface

Installing the StarTeam TestDirector Version Control Add-in enables you to use StarTeam as a version control system for Mercury’s TestDirector or Quality Center. By implementing version control, a team of people can work on tests without overwriting each other’s changes. When a team member checks out a test under version control, it can be locked, which prevents others from changing it. A revised test can be checked back into the StarTeam repository and unlocked, so that it is available to the team.

This guide explains:

How to install the TestDirector Version Control Add-in

How to set up the TestDirector Version Control Add-in to use a StarTeam projectThe differences between the instructions for the TestDirector Version Control Add-in

and the directions in Mercury’s TestDirector Version Control Add-in Guide. A shortcut to this guide is created when you install the TestDirector Version Control Add-in.

Please check the Borland web site for periodic updates to both the Add-in and its documentation.

http://starteam.borland.com/starteamintegrations

The installation program for the Add-in copies an online version of this guide to the installation folder.

(6)

2 T e s t D i r e c t o r V e r s i o n C o n t r o l A d d - i n I n s t a l l a t i o n G u i d e C o n t a c t i n g B o r l a n d S u p p o r t

Contacting Borland Support

Borland Software Corporation is committed to providing world-class services in the area of consulting and technical support. We have over 15 years of experience in supporting developers and enterprise customers. Our qualified technical support engineers are prepared to handle your support needs on a case-by-case basis or in an ongoing partnership. Borland provides support worldwide, delivering timely, reliable service to ensure every customer’s business success.

For more information about Borland’s support services, please see our web site at

http://support.borland.com.

From the Web site, you can also access many newsgroups where users exchange information, tips, and techniques. See http://info.borland.com/newsgroups/ for the latest list of free product newsgroups. Also, available on the Internet is the Borland Developer Network site at http://community.borland.com. This Borland Community provides access to product specific information, articles, code examples, and news. When contacting support, be prepared to provide complete information about your environment, the version of the product you are using, and a detailed description of the problem.

For support on third-party tools or documentation, contact the vendor of the tool.

Documentation Conventions

The documentation uses the following conventions.

Note Identifies supplemental information.

Tip Identifies information on alternative procedures or other helpful but nonessential information.

Important Identifies information that is essential to the completion of a task.

Caution Identifies actions that may result in loss of data, or procedures that must be followed to ensure that data is not lost.

Choose File > Exit Indicates a menu selection followed by a submenu selection. The greater-than symbol (>) separates the commands to be selected from subsequent menus. For example, “Choose the File > Exit command” means to choose File from the menu bar and then choose Exit from the drop-down menu.

Fixed-Space Font Text appearing in Courier font represents information that you need to enter and messages from the system.

italics Syntax appearing in italics represents information that you replace with the names of your files, child folders, etc. Italics are also used for the names of dialogs and books and for emphasis.

Bold Syntax appearing in bold represents information that you must use exactly as shown (if you use it).

[ ] Square brackets surround optional syntax.

(7)

C h a p t e r 2 : U s i n g t h e A d d - I n 3

C h a p t e r

2

Chapter 2

Using the Add-In

The TestDirector Version Control Add-in enables you to place current and prior versions of TestDirector test plans under version control in the StarTeam repository. It supports both the StarTeam Windows Server and StarTeam for Solaris Server. Before TestDirector test plans can be stored in StarTeam, the following tasks must be completed:

1 On a computer with an Internet Information Server (IIS), install the following software:

a TestDirector 7.6 or 8.0. The Add-in also works with Quality Center 8.2 for Windows and Quality Center 8.2 for Solaris.

b TestDirector Version Control Add-in. Installing this add-in also installs a shortcut to the Mercury TestDirector Version Control Add-in Guide, which explains how to use version control in TestDirector.

c StarTeam TestDirector Version Control Add-in 2 Do one of the following:

Create a new TestDirector project for test plans that will be placed under StarTeam version control.

a Create the TestDirector project, but do not activate it. See “Creating a TestDirector Project” on page 4.

b Run the StarTeam Add-in Setup to select a StarTeam project to store the files. See “Running the StarTeam Add-in Setup” on page 5.

c From Site Administrator, enable version control for the TestDirector project. For details, see the TestDirector Version Control Add-in Guide.

d From Site Administrator, activate the TestDirector project. For details, see the TestDirector Version Control Add-in Guide.

Place an existing TestDirector project under StarTeam version control.

From Site Administrator, deactivate the TestDirector project. For details, see the TestDirector Version Control Add-in Guide.

(8)

4 T e s t D i r e c t o r V e r s i o n C o n t r o l A d d - i n I n s t a l l a t i o n G u i d e I n s t a l l i n g t h e S t a r T e a m T e s t D i r e c t o r V e r s i o n C o n t r o l A d d - i n

f From Site Administrator, enable version control for the TestDirector project. For details, see the TestDirector Version Control Add-in Guide.

g From Site Administrator, reactivate the TestDirector project. For details, see the TestDirector Version Control Add-in Guide.

3 After the TestDirector project is activated under source control and the StarTeam folder for storing test plans has been selected, you can check files in and out, as explained in the TestDirector Version Control Add-in Guide.

TestDirector creates a number of folders in StarTeam. TestDirector stores a variety of files for each test. All of the files will have the file status “Missing” in the StarTeam client unless you provide an alternate working folder that is the pathToTestDirectorProject\ checkouts\userName. TestDirector checks the files for each test in and out using this predefined location.

Note TestDirector stores tests in folders using internal identifiers. You should not attempt to modify the location of the folders or tests from within StarTeam.

Installing the StarTeam TestDirector Version Control Add-in

The StarTeam Add-in must be downloaded from a Borland web site , and then installed on a machine that is running the required software. See page 3 for details.

To install the StarTeam Add-in: 1 Go to the following web site:

http://starteam.borland.com/starteamintegrations

2 Click on the appropriate link and download the TestDirector Version Control Add-in file.

3 On a machine that is running the IIS Server and TestDirector, run the file to start installing the StarTeam Add-in.

4 Follow the instructions in the installation program dialogs.

Creating a TestDirector Project

If you create a TestDirector project to use with StarTeam, you should not activate the TestDirector project as part of its creation. Except for this restriction, you should follow the instructions for creating a project in the TestDirector Version Control Add-in Guide. A shortcut to this guide is created when you install the TestDirector Version Control Add-in.

To create a TestDirector project to use with StarTeam: 1 In the Site Administrator, select the Projects tab. 2 Click Create.

3 In the resulting Create Project dialog box.

a In the Project Name text box, enter a name for the TestDirector project. b In the Domain text box, select a TestDirector virtual domain.

c For the Database Type, select one of the available types. d Click Next.

4 On the resulting page:

a Clear the Activate Project check box.

(9)

C h a p t e r 2 : U s i n g t h e A d d - I n 5

R u n n i n g t h e S t a r T e a m A d d - i n S e t u p

c Click Create.

The new project will be added to the list of TestDirector projects, but it has not yet been placed under version control or activated.

Running the StarTeam Add-in Setup

To help you set up the StarTeam Add-in, a special program deposits a file named STServer.properties in your TestDirector project directory. This file contains information about the StarTeam project, view, and folder in which you will store TestDirector test plans.

To set up the StarTeam Add-in:

1 From the Windows Start menu, select Programs > StarTeam > StarTeam TestDirector Version Control Add-in > Setup.

2 On the Welcome page of the resulting dialog box, click Next.

3 On the resulting page, specify the Project Directory for this project, and click Next. The resulting page shows the available StarTeam servers.

4 If the StarTeam Server you want to access is not listed in this dialog box, click Add Server. The StarTeam Server dialog box appears.

a In the Server Description text box, enter a unique descriptive name for the server configuration. The name is not case sensitive and cannot contain colons (:). b In the Server Address text box, enter or browse for the server’s computer name

or IP address.

c In the Endpoint text box, enter the port number associated with the TCP/IP communications protocol.

d Select an encryption type check box to encrypt data transferred between your workstation and the server. Encryption protects files and other project information from being read by unauthorized parties over unsecured network lines.

The encryption types are ordered (top to bottom) based on speed. Each encryption type is slower, but safer, than the type that precedes it.

e If you want to use data compression, select the Compress Transferred Data check box.

5 Double-click the name of the StarTeam server to be accessed.

6 In the resulting Log On dialog box, enter your name and password for StarTeam Server, and click OK.

7 Expand the tree for this StarTeam server, and select the StarTeam project, view, and folder that will be used to store the files from TestDirector.

8 Click Next. The Review Settings page appears. 9 Review the settings to make sure they are correct.

If the settings are correct, click Finish.

If the settings are not correct, click Back until you reach the page on which you can change the setting, and then click Next until you reach this page again. 10 In the confirmation dialog indicating that setup is complete, click OK.

(10)

6 T e s t D i r e c t o r V e r s i o n C o n t r o l A d d - i n I n s t a l l a t i o n G u i d e U s i n g V e r s i o n C o n t r o l w i t h T e s t D i r e c t o r

Using Version Control with TestDirector

For information about working with version control in TestDirector, review the latest version of the TestDirector Version Control Add-in Guide. A shortcut to this guide is created when you install the TestDirector Version Control Add-in.The information provided in the guide explains how to create tests under version control, check out tests, check in tests, undo checkouts, view previous versions, and more.

Tips on Using the StarTeam Add-in

Viewing a modified test. Assume that two users are viewing the same test, but only one user has it checked out. That user makes a modification in the test, and checks it back in again. The second user will not see the changes after checking out the test until he or she changes tabs or items or clicks Refresh.

Performing Concurrent Operations. When two users perform concurrent operations (for example, Get Latest), one user may see a message about the test being locked, even though the lock is in place only briefly.

Checking out the tip revision. If you have checked out a historical revision of a test in TestDirector, but decide that you want to check out the tip revision, you must first perform an Undo Checkout, then a Get Latest Version operation, then Check Out the file.

Checking out prior revisions.

To check out an older revision of a test plan, you must have the latest revision of the file in your StarTeam working folder.

If you check out an early version of a test that has been renamed, the historical revision retains the original file name.

Using process rules. Process rules are enforced at the StarTeam client level. Therefore, when you use the StarTeam Add-in, you can check files in and out regardless of the process rules that have been set.

Adding comments. Although you can enter a Comment on the Check Out dialog boxabout why you are checking out files, this feature is not currently supported, so the comment will not be retained or used by StarTeam.

Using Undo Checkout. When you modify a test, decide not to keep the changes, and select Undo Checkout, you will not see a warning that your changes will be lost. Instead, a standard confirmation message displays.

Setting the StarTeam Server timeout. Connections to the StarTeam Server are not automatically released when the TestDirector connection times out. Borland recommends setting the StarTeam Server timeout in Server Administration to approximately the same number of minutes as the timeout used by TestDirector/IIS.

Known Issues: TestDirector

When version control is enabled and more than one user performs the same operation (such as a check out or add) at the same time, the operation fails if TestDirector is using an Access database.

(11)

I n d e x 7

B

bold convention 2 brackets convention 2

C

conventions bold 2 brackets 2 fixed-space type 2 italics 2 menu selections 2 vertical bars 2

creating a TestDirector project 4

D

developer support 2

F

fixed-space type convention 2

I

installing the StarTeam TestDirector Version Control Add-in 4

italics convention 2

M

menu selections convention 2

P

product support 2 projects creating in TestDirector 4 selecting in StarTeam 5

S

Setup program 5

square brackets convention 2

StarTeam TestDirector Version Control Add-in 3 support 2

T

technical support 2

V

vertical bars convention 2

(12)

References

Related documents

0 1 2 3 Organization & Time Management Audience cannot understand presentation because the information is not sequenced logically; students have significant trouble

Whether or not it was possible for captions to be provided verbatim is irrelevant to the quality of captioning service, and has no bearing on whether the overall program with

Efes Vitanta Vitanta Brewery Brewery Moldova 96.5% Public Public GDRs listed in LSE GDRs listed in LSE 70.2% Krasny Vostok Krasny Vostok Brewing Group Brewing Group Russia 92.9%

In 2010, Coca-Cola Hellenic installed another two CHP plants in Europe bringing the total to four and saving over 20,000 tonnes of carbon annually.. We could do more but as

calcium is removed by SERCA ten times more effectively than by NCX [198]. Of note, NCX function is dependent not only on its expression, but also on local Na + and Ca

postoperativnom hirurškom materijalu i u zavisnosti od histološkog tipa karcinoma; da se proceni povezanost kliničkog odgovora na neoadjuvantnu terapiju prema

PHILIPPE. - Très franchement, c'est tradition pour les étudiants de faire suis d'origine marocaine et italienne autres. J'avais beaucoup grossi ces le premier prénom qui m'est venu

In order to examine the relationship between innovative resource allocation and service delivery performance, scholars in the fi eld of public sector economics see the need to