|
Lines 1-130
Link Here
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE html |
2 |
|
| 3 |
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> |
| 4 |
<html> |
4 |
<html> |
|
|
5 |
|
| 5 |
<head> |
6 |
<head> |
| 6 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
7 |
<meta http-equiv=Content-Type content="text/html; charset=UTF-8"/> |
| 7 |
<meta name="copyright" content="(C) Copyright IBM Corporation 2004" /> |
8 |
<link rel=StyleSheet href="../css/book.css" type="text/css"/> |
| 8 |
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2004" /> |
9 |
|
| 9 |
<meta name="security" content="public" /> |
10 |
|
| 10 |
<meta name="Robots" content="index,follow" /> |
|
|
| 11 |
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> |
| 12 |
<meta name="DC.Type" content="task" /> |
| 13 |
<meta name="DC.Title" content="Creating a test deployment" /> |
| 14 |
<meta name="abstract" content="This topic describes how to create a deployment for your test suite. You must create a deployment before you can run a test." /> |
| 15 |
<meta name="description" content="This topic describes how to create a deployment for your test suite. You must create a deployment before you can run a test." /> |
| 16 |
<meta name="DC.Relation" scheme="URI" content="../concepts/ccommontestingtasksandconcepts.dita" /> |
| 17 |
<meta name="DC.Format" content="XHTML" /> |
| 18 |
<meta name="DC.Identifier" content="creatingatestdeployment" /> |
| 19 |
<meta name="DC.Language" content="en-us" /> |
| 20 |
<!-- All rights reserved. Licensed Materials Property of IBM --> |
| 21 |
<!-- US Government Users Restricted Rights --> |
| 22 |
<!-- Use, duplication or disclosure restricted by --> |
| 23 |
<!-- GSA ADP Schedule Contract with IBM Corp. --> |
| 24 |
<link rel="stylesheet" type="text/css" href="../css/ibmdita.css" /> |
| 25 |
<link rel="stylesheet" type="text/css" href="../css/swg_info_common.css" /> |
| 26 |
<title>Creating a test deployment</title> |
11 |
<title>Creating a test deployment</title> |
|
|
12 |
|
| 27 |
</head> |
13 |
</head> |
| 28 |
<body id="creatingatestdeployment"><a name="creatingatestdeployment"><!-- --></a> |
|
|
| 29 |
|
14 |
|
| 30 |
<h1 class="topictitle1">Creating a test deployment</h1> |
15 |
<body> |
| 31 |
<div><p>This topic describes how to create a deployment for your test suite. |
|
|
| 32 |
You must create a deployment before you can run a test.</p> |
| 33 |
<div class="p">A test deployment definition typically consists of one or more pairs |
| 34 |
of test artifacts and locations. Test artifacts are test suites and datapools. |
| 35 |
A location identifies the computer where you run the test suite. Hyades reads |
| 36 |
the pairing and deploys the test artifacts on the computer specified. You |
| 37 |
can also create a test deployment that specifies only a location; it does |
| 38 |
not specify test artifacts. Such a deployment is convenient when you want |
| 39 |
to run a specific test suite on a specific computer. In this case, you do |
| 40 |
not need to create a test artifact for the test suite. You select the test |
| 41 |
suite and the location-only deployment, and Hyades deploys the test suite |
| 42 |
to the computer specified in the deployment definition and runs the test suite |
| 43 |
on that computer.</div> |
| 44 |
<div class="skipspace">To create a test deployment:</div> |
| 45 |
<ol><li><span>In the Test Navigator select the test suite for which you want |
| 46 |
to create a deployment. Click <span class="menucascade"><span class="uicontrol">File</span> > <span class="uicontrol">New</span> > <span class="uicontrol">Other</span></span>. The <span class="uicontrol">New</span> wizard |
| 47 |
opens, as shown below. <br /><img src="../images/newwizard.gif" /><br /></span></li> |
| 48 |
<li><span>Expand the <span class="uicontrol">Test</span> folder and the <span class="uicontrol">Test |
| 49 |
Elements</span> folder, then select <span class="uicontrol">Deployment</span>. |
| 50 |
Click <span class="uicontrol">Next</span>. The next page of the wizard opens, as shown |
| 51 |
below. <br /><img src="../images/newdeployment.gif" /><br /></span></li> |
| 52 |
<li><span>Navigate to the folder that will store the deployment file resource. |
| 53 |
Enter a name for the file resource in the <span class="uicontrol">File name</span> field. |
| 54 |
Click <span class="uicontrol">Next</span>. The next page of the wizard opens, as shown |
| 55 |
below. <br /><img src="../images/newdeployment2.gif" /><br /></span></li> |
| 56 |
<li><span>Enter a name and brief description for the deployment. The default |
| 57 |
name for the deployment is the name you specified for the file resource. |
| 58 |
The name that you specify here |
| 59 |
is the one that appears in the Test Navigator. Click <span class="uicontrol">Next</span>. |
| 60 |
The next page of the wizard opens, as shown below. <br /><img src="../images/newdeployment3.gif" /><br /></span></li> |
| 61 |
<li><span>To create a deployment that consists of a location only, click <span class="uicontrol">Next</span> and |
| 62 |
skip ahead to Step 10. When you run a test with such a deployment, Hyades |
| 63 |
deploys that test suite to the location specified in the deployment. Otherwise, |
| 64 |
click <span class="uicontrol">Add</span> to open the <span class="uicontrol">Add Artifact Association</span> page, |
| 65 |
as shown below. <br /><img src="../images/addartifact.gif" /><br /></span></li> |
| 66 |
<li><span>If you have previously defined one or more artifacts that you want |
| 67 |
to use in this deployment, click <span class="uicontrol">Browse</span> and navigate |
| 68 |
to the artifact. After you select the artifact, click <span class="uicontrol">Finish</span>. |
| 69 |
To define a new artifact select <span class="uicontrol">Create a new resource</span> and |
| 70 |
click <span class="uicontrol">Next</span>. The New Artifact wizard opens, as shown |
| 71 |
below. <br /><img src="../images/newartifact.gif" /><br /></span></li> |
| 72 |
<li><span>Navigate to the folder that will store the artifact file resource. |
| 73 |
Enter a name for the artifact file resource in the <span class="uicontrol">File name</span> field. |
| 74 |
Click <span class="uicontrol">Next</span>. The next page of the wizard opens, as shown |
| 75 |
below. <br /><img src="../images/newartifact2.gif" /><br /></span></li> |
| 76 |
<li><span>Enter a name and description for the artifact. The default name |
| 77 |
is the name that you specified for the artifact file resource. The name you |
| 78 |
specify here is the one that appears in the Test Navigator. Click <span class="uicontrol">Next</span>. |
| 79 |
The next page of the wizard opens, as shown below. <br /><img src="../images/newartifact3.gif" /><br /></span></li> |
| 80 |
<li><span>Click the boxes next to the test assets that you want to include |
| 81 |
in the artifact. To see the folders that the test assets belong to click <span class="uicontrol">Show |
| 82 |
Folders</span>. Click <span class="uicontrol">Finish</span>. The new artifact |
| 83 |
appears in the list of artifacts to be added to the deployment, as shown below. <br /><img src="../images/newdeployment5.gif" /><br />To add another artifact |
| 84 |
click <span class="uicontrol">Add</span> and repeat the steps. When you are satisfied |
| 85 |
with the list of artifacts, click <span class="uicontrol">Next</span>. The next page |
| 86 |
of the wizard appears, as shown below. <br /><img src="../images/newdeployment6.gif" /><br /></span></li> |
| 87 |
<li><span>Click <span class="uicontrol">Add</span> to select a location to be associated |
| 88 |
with the deployment. The Add Location Association dialog box opens, as shown |
| 89 |
below. <br /><img src="../images/addlocation.gif" /><br /></span></li> |
| 90 |
<li><span>To select an existing location resource click <span class="uicontrol">Browse</span> and |
| 91 |
navigate to the location. To create a location, select <span class="uicontrol">Create a |
| 92 |
new resource</span> and click <span class="uicontrol">Next</span>. The New Location |
| 93 |
wizard opens, as shown below. <br /><img src="../images/addlocation2.gif" /><br /></span></li> |
| 94 |
<li><span>Navigate to the folder that will store the location resource file. |
| 95 |
Enter a name for the location resource file in the <span class="uicontrol">File name</span> field. |
| 96 |
Click <span class="uicontrol">Next</span>. The next page of the wizard appears, as |
| 97 |
shown below. <br /><img src="../images/addlocation3.gif" /><br /></span></li> |
| 98 |
<li><span>Enter a name and brief description for the location. The default |
| 99 |
name is the name that you specified for the location resource file. The name |
| 100 |
you specify here is the name that appears in the Test Navigator. Click <span class="uicontrol">Finish</span>. |
| 101 |
The new location appears in the list of locations to be added to the deployment, |
| 102 |
as shown below. <br /><img src="../images/newdeployment7.gif" /><br />To |
| 103 |
add another location click <span class="uicontrol">Add</span> and repeat the steps. |
| 104 |
When you are satisfied with the list of locations to be added to the deployment, |
| 105 |
click <span class="uicontrol">Next</span>. The next page of the wizard opens, as shown |
| 106 |
below. <br /><img src="../images/newdeployment8.gif" /><br /></span></li> |
| 107 |
<li><span>The left pane lists test artifacts and the right pane lists locations. |
| 108 |
Create one or more pairs of test artifacts and locations by selecting one |
| 109 |
from each pane and clicking <img src="../images/arrow.gif" />. By creating |
| 110 |
pairs of artifacts and locations you are specifying which test artifacts should |
| 111 |
be deployed to which computers when the test is run. If you are creating a |
| 112 |
location-only deployment, the test artifacts pane will be empty. To remove |
| 113 |
a pair, select it from the list and click <span class="uicontrol">Remove</span>. To |
| 114 |
move a pair up in the list, select the pair and click <span class="uicontrol">Up</span>. |
| 115 |
When you are satisfied with the list of pairs, click <span class="uicontrol">Finish</span>. </span></li> |
| 116 |
<li><span>From the Test Navigator, double-click the location that you created. |
| 117 |
The location's <span class="uicontrol">Overview</span> tab opens, as shown below. <br /><img src="../images/addlocation4.gif" /><br /></span></li> |
| 118 |
<li><span>The default host name for the location is <kbd class="userinput">localhost</kbd>. |
| 119 |
If the location is for another computer, enter the name of that computer in |
| 120 |
the <span class="uicontrol">Host name</span> field. </span></li> |
| 121 |
</ol> |
| 122 |
</div> |
| 123 |
|
16 |
|
| 124 |
<div> |
17 |
<div> |
|
|
18 |
|
| 19 |
<h1><a name=creatingatestdeployment></a>Creating a Test Deployment</h1> |
| 20 |
|
| 21 |
<p>This topic describes how to create a deployment for your test suite. Unless |
| 22 |
you make use of the default deployment to run your test locally, you must |
| 23 |
create a deployment before you can run a test.</p> |
| 24 |
|
| 25 |
<p>A test deployment definition typically consists of one or |
| 26 |
more pairs of test artifacts and locations. Test artifacts are test suites and |
| 27 |
datapools. A location identifies the computer where you run the test suite. |
| 28 |
TPTP reads the pairing and deploys the test artifacts on the computer specified. |
| 29 |
You can also create a test deployment that specifies only a location; it does |
| 30 |
not specify test artifacts. Such a deployment is convenient when you want to |
| 31 |
run a specific test suite on a specific computer. In this case, you do not need |
| 32 |
to create a test artifact for the test suite. You select the test suite and the |
| 33 |
location-only deployment, and TPTP deploys the test suite to the computer |
| 34 |
specified in the deployment definition and runs the test suite on that |
| 35 |
computer.</p> |
| 36 |
|
| 37 |
<p>To create a test deployment:</p> |
| 38 |
|
| 39 |
<ol> |
| 40 |
<li> |
| 41 |
<p>In |
| 42 |
the Test Navigator select the test suite for which you want to create a |
| 43 |
deployment. Select <b>File</b><b> > </b><b>New</b><b> > </b><b>Other</b>. The New |
| 44 |
wizard opens.</p> |
| 45 |
</li> |
| 46 |
<li> |
| 47 |
<p>Expand the Test folder and the Test Assets folder, then select Deployment. |
| 48 |
Click <b>Next</b>. The next page of the wizard |
| 49 |
opens.</p> |
| 50 |
<p>Navigate to the folder that will store the deployment file |
| 51 |
resource. Enter a name for the deployment in the name |
| 52 |
field. Click <b>Next</b>. The next page of the |
| 53 |
wizard opens: </p> |
| 54 |
</li> |
| 55 |
<li> |
| 56 |
<p>Optionally enter a brief description for the deployment. Click |
| 57 |
<b>Next</b>. The next page of the wizard opens.</p> |
| 58 |
</li> |
| 59 |
<li> |
| 60 |
<p>(To create a deployment that consists of a location only, |
| 61 |
click <b>Next</b> and skip ahead to <b>Step 9</b>). |
| 62 |
When you run a test with such a deployment, TPTP deploys the test suite to the |
| 63 |
location specified in the deployment. Otherwise, click Add |
| 64 |
to open the Add Artifact Association page.</p> |
| 65 |
</li> |
| 66 |
<li> |
| 67 |
<p>If you have previously defined one or more artifacts that |
| 68 |
you want to use in this deployment, click <b>Browse</b> |
| 69 |
and navigate to the artifact. After you select the artifact, click <b>Finish</b>. To define a new artifact check the <b>Create a new resource</b> button and click <b>Next</b>. The New Artifact wizard opens.</p> |
| 70 |
</li> |
| 71 |
<li> |
| 72 |
<p>Navigate to the folder that will store the artifact file |
| 73 |
resource. Enter a name for the artifact file resource in the Name field. Click <b>Next</b>. |
| 74 |
The next page of the wizard opens.</p> |
| 75 |
</li> |
| 76 |
<li> |
| 77 |
<p>Optionally enter a description for the artifact. Click <b>Next</b>. The next page of the wizard opens.</p> |
| 78 |
</li> |
| 79 |
<li> |
| 80 |
<p>Click the boxes next to the test asset(s) that you want to |
| 81 |
include in the artifact. Click <b>Finish</b>. The |
| 82 |
new artifact appears in the list of artifacts to be added to the deployment.</p> |
| 125 |
<p> |
83 |
<p> |
| 126 |
<b class="parentlink">Parent topic:</b> <a href="../concepts/ccommontestingtasksandconcepts.htm" title="The Eclipse test and performance tools platform (TFTP) provides support for three types of testing:">Common testing tasks and concepts</a><br /> |
84 |
To add another artifact click Add and repeat the |
|
|
85 |
steps. When you are satisfied with the list of artifacts, click <b>Next</b>. The next page of the wizard appears.</p> |
| 86 |
</li> |
| 87 |
<li> |
| 88 |
<p>Click <b>Add</b> to select a |
| 89 |
location to be associated with the deployment. The <b>Add Location Association</b> |
| 90 |
dialog box opens, as above.</p> |
| 91 |
</li> |
| 92 |
<li> |
| 93 |
<p>To select an existing location resource click <b>Browse</b> and navigate to the location. To create a |
| 94 |
location, check the <b>Create a new resource</b> |
| 95 |
button and click <b>Next</b>. The New Location |
| 96 |
wizard opens. </p> |
| 97 |
|
| 98 |
<p>Navigate to the folder that will store the location resource |
| 99 |
file. Enter a name for the location resource file in the File |
| 100 |
name field. Click <b>Next</b>. The next |
| 101 |
page of the wizard appears.</p> |
| 102 |
</li> |
| 103 |
<li> |
| 104 |
<p>Optionally |
| 105 |
enter a description for the location. Click <b>Finish</b>. |
| 106 |
The new location appears in the list of locations to be added to the |
| 107 |
deployment.</p> |
| 108 |
<p> |
| 109 |
To add another location click <b>Add</b> and |
| 110 |
repeat the steps. When you are satisfied with the list of locations to be added |
| 111 |
to the deployment, click <b>Next</b>. The next |
| 112 |
page of the wizard opens.</p> |
| 113 |
</li> |
| 114 |
<li> |
| 115 |
|
| 116 |
<p>The |
| 117 |
left-pane lists test artifacts and the right-pane lists locations. Create one |
| 118 |
or more pairs of test artifacts and locations by selecting one from each pane |
| 119 |
and clicking the down-arrow. By creating pairs of artifacts and locations you |
| 120 |
are specifying which test artifacts should be deployed to which computers when |
| 121 |
the test is run. If you are creating a location-only deployment, the test artifacts |
| 122 |
pane will be empty. To remove a pair, select it from the list and click Remove. To move a pair up in the list, select the pair |
| 123 |
and click Up. When you are satisfied with the list |
| 124 |
of pairs, click Finish.</p> |
| 125 |
</li> |
| 126 |
</ol> |
| 127 |
|
| 128 |
<p><strong>Related tasks</strong><br/> |
| 129 |
<a href="trunningmanualtestsuite.htm">Running a manual test</a><br/> |
| 130 |
<a href="tediting_manual_test.htm">Editing a manual test</a><br/> |
| 131 |
<a href="tanalyzingmanualtestresults.htm">Analyzing manual test results</a><br/> |
| 132 |
</p> |
| 133 |
|
| 134 |
<p><strong>Related reference</strong><br/> |
| 135 |
<a href="../ref/rtestlog.html">Test Log viewer</a><br/> |
| 127 |
</p> |
136 |
</p> |
| 128 |
</div><div class="runningfooter">(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.</div> |
137 |
|
|
|
138 |
<p>(C) Copyright IBM Corporation 2000, 2005. All Rights |
| 139 |
Reserved.</p> |
| 140 |
|
| 141 |
|
| 142 |
</div> |
| 143 |
|
| 129 |
</body> |
144 |
</body> |
|
|
145 |
|
| 130 |
</html> |
146 |
</html> |