Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 171664 | Differences between
and this patch

Collapse All | Expand All

(-)tasks/t_portrecorder.html (-20 / +20 lines)
Lines 25-31 Link Here
25
<meta name="DC.Language" content="en-us" />
25
<meta name="DC.Language" content="en-us" />
26
<!--
26
<!--
27
/**********************************************************************
27
/**********************************************************************
28
 * Copyright (c) 2005, 2006 IBM Corporation.
28
 * Copyright (c) 2005, 2007 IBM Corporation.
29
 * All rights reserved.   This content
29
 * All rights reserved.   This content
30
 * is made available under the terms of the Eclipse Public License v1.0
30
 * is made available under the terms of the Eclipse Public License v1.0
31
 * which accompanies this distribution, and is available at
31
 * which accompanies this distribution, and is available at
Lines 40-46 Link Here
40
<link rel="stylesheet" type="text/css" href="../css/book.css" />
40
<link rel="stylesheet" type="text/css" href="../css/book.css" />
41
<title>Porting a recorder into version 4.2 from an earlier version</title>
41
<title>Porting a recorder into version 4.2 from an earlier version</title>
42
</head>
42
</head>
43
<body id="t_portrecorder"><a name="t_portrecorder"><!-- --></a>
43
<body><a name="t_portrecorder"><!-- --></a>
44
<h1 class="topictitle1">Porting a recorder into version 4.2 from an earlier version</h1>
44
<h1 class="topictitle1">Porting a recorder into version 4.2 from an earlier version</h1>
45
<div><p>Recorders that were created in earlier versions of the Test and
45
<div><p>Recorders that were created in earlier versions of the Test and
46
Performance Tools Platform (TPTP) will still work in version 4.2. However,
46
Performance Tools Platform (TPTP) will still work in version 4.2. However,
Lines 49-81 Link Here
49
Controller and cannot use the recorder UI wizard entry point.</p>
49
Controller and cannot use the recorder UI wizard entry point.</p>
50
<div class="p">The following list of tasks describes the steps required to port earlier
50
<div class="p">The following list of tasks describes the steps required to port earlier
51
versions of recorders to the new Generic Recorder Framework of TPTP 4.2.</div>
51
versions of recorders to the new Generic Recorder Framework of TPTP 4.2.</div>
52
<ol><li class="stepexpand"><span>You can change your old IRecorderDataProcessor class from an earlier
52
<ol><li class="stepexpand"><span>You can change your old <code>org.eclipse.hyades.execution.recorder.IRecorderDataProcessor</code> class from an earlier
53
version into a MessageHandler class. For an example of this, see HttpRecorderDataProcessor
53
version into an implementation of the <code>org.eclipse.tptp.test.provisional.recorder.framework.IRecorderMessageProvider</code> interface. 
54
in the org.eclipse.hyades.test.ui project.</span> The recorderMessageHandlers
54
For an example, see <code>org.eclipse.hyades.execution.recorder.http.local.HttpRecorderDataProcessor</code>.</span> The implementation of the 
55
enables the data being received from the agent to persist in the recording
55
<code>org.eclipse.tptp.test.provisional.recorder.framework.IRecorderMessageProvider</code> interface enables the data being received from the agent to 
56
file. In version 4.2, the processing is now done from the method processDataFromDataProcessor().</li>
56
persist in the recording file. In version 4.2, the processing is now done from the <code>processDataFromDataProcessor()</code>.</li>
57
<li class="stepexpand"><span>The executable adapters ExecutableObjectAdapter and EnvironmentAdapter
57
<li class="stepexpand"><span>The executable adapters (<code>org.eclipse.hyades.execution.recorder.remote.RecorderExecutableObjectAdapter</code> and <code>org.eclipse.hyades.execution.recorder.remote.RecorderEnvironmentAdapter</code>)
58
in earlier versions have been combined into the execOptionsProvider in version
58
in earlier versions have been combined into the <code>org.eclipse.tptp.test.provisional.recorder.framework.AbstractRecorderExecOptions</code> class in version
59
4.2. You can now extend the AbstractRecorderExecOptionsProvider class without
59
4.2. You can now extend the <code>org.eclipse.tptp.test.provisional.recorder.framework.AbstractRecorderExecOptionsProvider</code> class without
60
having to override the following methods:</span><ol type="a"><li><span>getAgentClassPath: The fully qualified path of the recorder
60
having to override the following methods:</span><ol type="a"><li><span><code>getAgentClassPath()</code>: The fully qualified path of the recorder
61
class (the class that extends RecorderAgent)	</span></li>
61
class (extension of the <code>org.eclipse.hyades.execution.recorder.remote.RecorderAgent</code> class)</span></li>
62
<li><span>getVMArgString: The location where you createJVM arguments,
62
<li><span><code>getVMArgString()</code>: The location where you create JVM arguments,
63
such as debug.</span></li>
63
such as debug.</span></li>
64
<li><span>getRecorderJars: The location where you return a list of JAR
64
<li><span><code>getRecorderJars()</code>: The location where you return a list of JAR
65
files that should be in the class path when the recorder is running on the
65
files that should be in the class path when the recorder is running on the
66
agent.</span></li>
66
agent.</span></li>
67
</ol>
67
</ol>
68
 For more information, see the <a href="../../org.eclipse.tptp.platform.doc.isv/ref/rextpoint.xhtml#org.eclipse.hyades.test.core.Recorder">generic recorder extension point documentation</a>.</li>
68
 For more information, see the <a href="../../org.eclipse.tptp.platform.doc.isv/ref/rextpoint.xhtml#org.eclipse.hyades.test.core.Recorder">generic recorder extension point documentation</a>.</li>
69
<li class="stepexpand"><span>The recorderAgent is the class that runs on the agent that starts
69
<li class="stepexpand"><span>The Recorder Agent runs on the agent that starts
70
the recorder (proxy in the case of socket). This extends the class RecorderAgent
70
the recorder (proxy in the case of socket). This class extends the <code>org.eclipse.hyades.execution.recorder.remote.RecorderAgent</code> class
71
and must have a main and a run method. <strong>This class has not changed from
71
and must have a main and a run method. <strong>This class has not changed from
72
earlier versions.</strong> </span></li>
72
earlier versions.</strong> </span></li>
73
<li class="stepexpand"><span>The recorderClientHelper class enables any kind of settings to
73
<li class="stepexpand"><span>The implementation of the <code>org.eclipse.tptp.test.provisional.recorder.framework.IRecorderClientHelper</code> interface enables any kind of settings to
74
be set for the recorder. Typically, settings can be retrieved from preferences
74
be set for the recorder. Typically, settings can be retrieved from preferences
75
and stored in the recorder. Settings can also be stored is in the wizardPageProvider,
75
and stored in the recorder. Settings can also be stored is in the implementation of the <code>org.eclipse.tptp.test.provisional.recorder.ui.wizards.IRecorderPageProvider</code> interface,
76
which provides the settings to be used by the recorder. Override the preSetup()
76
which provides the settings to be used by the recorder. Override the <code>preSetup()</code>
77
method to provide these settings.</span></li>
77
method to provide these settings.</span></li>
78
<li class="stepexpand"><span>The wizardPageProvider class can provide default settings to the
78
<li class="stepexpand"><span>The implementation of the <code>org.eclipse.tptp.test.provisional.recorder.ui.wizards.IRecorderPageProvider</code> interface can provide default settings to the
79
recorder. For more information, see <a href="t_cretestrec.html#t_cretestrec" title="To create a test recorder, you extend the recorder user interface wizard and the four main Generic Recorder Framework (GRF) helper classes in the extension point org.eclipse.hyades.test.core.Recorder.">Creating a new test recorder</a>.</span></li>
79
recorder. For more information, see <a href="t_cretestrec.html#t_cretestrec" title="To create a test recorder, you extend the recorder user interface wizard and the four main Generic Recorder Framework (GRF) helper classes in the extension point org.eclipse.hyades.test.core.Recorder.">Creating a new test recorder</a>.</span></li>
80
</ol>
80
</ol>
81
</div>
81
</div>
(-)tasks/t_extgenrec.html (-2 / +2 lines)
Lines 24-30 Link Here
24
<meta name="DC.Language" content="en-us" />
24
<meta name="DC.Language" content="en-us" />
25
<!--
25
<!--
26
/**********************************************************************
26
/**********************************************************************
27
 * Copyright (c) 2005, 2006 IBM Corporation.
27
 * Copyright (c) 2005, 2007 IBM Corporation.
28
 * All rights reserved.   This content
28
 * All rights reserved.   This content
29
 * is made available under the terms of the Eclipse Public License v1.0
29
 * is made available under the terms of the Eclipse Public License v1.0
30
 * which accompanies this distribution, and is available at
30
 * which accompanies this distribution, and is available at
Lines 39-45 Link Here
39
<link rel="stylesheet" type="text/css" href="../css/book.css" />
39
<link rel="stylesheet" type="text/css" href="../css/book.css" />
40
<title>Extending the generic test recorder</title>
40
<title>Extending the generic test recorder</title>
41
</head>
41
</head>
42
<body id="t_extgenrec.dita"><a name="t_extgenrec.dita"><!-- --></a>
42
<body><a name="t_extgenrec.dita"><!-- --></a>
43
<h1 class="topictitle1">Extending the generic test recorder</h1>
43
<h1 class="topictitle1">Extending the generic test recorder</h1>
44
<div><p>A test recorder captures user interactions with an application.
44
<div><p>A test recorder captures user interactions with an application.
45
These interactions are saved, and a test is generated from these recorded
45
These interactions are saved, and a test is generated from these recorded
(-)tasks/t_cretestrec.html (-16 / +16 lines)
Lines 24-30 Link Here
24
<meta name="DC.Language" content="en-us" />
24
<meta name="DC.Language" content="en-us" />
25
<!--
25
<!--
26
/**********************************************************************
26
/**********************************************************************
27
 * Copyright (c) 2005, 2006 IBM Corporation.
27
 * Copyright (c) 2005, 2007 IBM Corporation.
28
 * All rights reserved.   This content
28
 * All rights reserved.   This content
29
 * is made available under the terms of the Eclipse Public License v1.0
29
 * is made available under the terms of the Eclipse Public License v1.0
30
 * which accompanies this distribution, and is available at
30
 * which accompanies this distribution, and is available at
Lines 39-55 Link Here
39
<link rel="stylesheet" type="text/css" href="../css/book.css" />
39
<link rel="stylesheet" type="text/css" href="../css/book.css" />
40
<title>Creating a new test recorder</title>
40
<title>Creating a new test recorder</title>
41
</head>
41
</head>
42
<body id="t_cretestrec"><a name="t_cretestrec"><!-- --></a>
42
<body><a name="t_cretestrec"><!-- --></a>
43
<h1 class="topictitle1">Creating a new test recorder</h1>
43
<h1 class="topictitle1">Creating a new test recorder</h1>
44
<div><p>To create a test recorder, you extend the recorder user interface
44
<div><p>To create a test recorder, you extend the recorder user interface
45
wizard and the four main Generic Recorder Framework (GRF) helper classes in
45
wizard and the four main Generic Recorder Framework (GRF) helper classes in
46
the extension point org.eclipse.hyades.test.core.Recorder.</p>
46
the <code>org.eclipse.hyades.test.core.Recorder</code> extension point.</p>
47
<div class="section">To create a new test recorder, use the Generic Recorder extension
47
<div class="section">To create a new test recorder, use the Generic Recorder extension
48
point to perform the following steps:</div>
48
point to perform the following steps:</div>
49
<ol><li><span>Define the Recorder Message Provider.</span></li>
49
<ol><li><span>Define the Recorder Message Provider.</span></li>
50
<li><span>Define the Recorder Client Helper.</span></li>
50
<li><span>Define the Recorder Client Helper.</span></li>
51
<li><span>Define the Wizard Page Provider.</span></li>
51
<li><span>Define the Wizard Page Provider.</span></li>
52
<li><span>Define the Exec Options Provider.</span></li>
52
<li><span>Define the Execution Options Provider.</span></li>
53
</ol>
53
</ol>
54
<div class="section"><p>Defaults exist for each of these providers. To review the defaults
54
<div class="section"><p>Defaults exist for each of these providers. To review the defaults
55
and to see more details about these providers, refer to the <a href="../../org.eclipse.tptp.platform.doc.isv/ref/rextpoint.xhtml#org.eclipse.hyades.test.core.Recorder">generic
55
and to see more details about these providers, refer to the <a href="../../org.eclipse.tptp.platform.doc.isv/ref/rextpoint.xhtml#org.eclipse.hyades.test.core.Recorder">generic
Lines 57-65 Link Here
57
<p><strong>Defining the Recorder
57
<p><strong>Defining the Recorder
58
Message Handler</strong></p>
58
Message Handler</strong></p>
59
<p>The Recorder Message Provider handles incoming messages
59
<p>The Recorder Message Provider handles incoming messages
60
from the RecorderAgent. The RecorderAgent controls how the recorder interprets
60
from the Recorder Agent. The Recorder Agent controls how the recorder interprets
61
the application that is being recorded. It is responsible for sending messages
61
the application that is being recorded. It is responsible for sending messages
62
back to the Workbench that are intercepted by the IRecorderDataProcessor interface
62
back to the workbench that are intercepted by the <code>IRecorderDataProcessor</code> interface
63
where the recording file is actually written. </p>
63
where the recording file is actually written. </p>
64
<p>Some default messages
64
<p>Some default messages
65
are handled in the Abstract class.</p>
65
are handled in the Abstract class.</p>
Lines 69-75 Link Here
69
</div>
69
</div>
70
<p><strong>Defining the Recorder Client Helper</strong></p>
70
<p><strong>Defining the Recorder Client Helper</strong></p>
71
<p>The Generic Recorder
71
<p>The Generic Recorder
72
Framework (GRF) calls ClientHelper methods during initialization and shutdown.
72
Framework (GRF) calls client helper methods during initialization and shutdown.
73
You can add custom initialization code for the extending recorder here. </p>
73
You can add custom initialization code for the extending recorder here. </p>
74
<div class="p"><ul><li>Interface: IRecorderClientHelper </li>
74
<div class="p"><ul><li>Interface: IRecorderClientHelper </li>
75
<li>Adapter: RecorderClientHelperAdapter </li>
75
<li>Adapter: RecorderClientHelperAdapter </li>
Lines 78-106 Link Here
78
<p><strong>Defining the Wizard Page Provider</strong></p>
78
<p><strong>Defining the Wizard Page Provider</strong></p>
79
<p>Use the wizard
79
<p>Use the wizard
80
page provider to develop additional pages for the recorder wizard. This is
80
page provider to develop additional pages for the recorder wizard. This is
81
the only provider that exists in the org.eclipse.hyades.test.ui project. All
81
the only provider that exists in the <code>org.eclipse.hyades.test.ui</code> project. All
82
the other providers are in the org.eclipse.hyades.test.core project.</p>
82
the other providers are in the <code>org.eclipse.hyades.test.core</code> project.</p>
83
<div class="p"><ul><li>Interface: IRecorderWizardPageProvider</li>
83
<div class="p"><ul><li>Interface: IRecorderWizardPageProvider</li>
84
<li>Default: DefaultRecWizardProvider</li>
84
<li>Default: DefaultRecWizardProvider</li>
85
</ul>
85
</ul>
86
</div>
86
</div>
87
<p>The default produces only one page: the Select Location for Test
87
<p>The default produces only one page: the Select Location for Test
88
Suite page.</p>
88
Suite page.</p>
89
<p>All pages served must be of type IGenericRecorderPage.</p>
89
<p>All pages served must be of type <code>IGenericRecorderPage</code>.</p>
90
<p>For
90
<p>For
91
each page, you can optionally define the following methods as well:</p>
91
each page, you can optionally define the following methods as well:</p>
92
<div class="p"><ul><li>public String getRecorderData(String key)</li>
92
<div class="p"><ul><li>public String getRecorderData(String key)</li>
93
<li>public Object getRecorderObjectData(String key)</li>
93
<li>public Object getRecorderObjectData(String key)</li>
94
<li>public void saveSettings();RecorderAgent</li>
94
<li>public void saveSettings()</li>
95
</ul>
95
</ul>
96
</div>
96
</div>
97
<p>The default process for retrieving data from WizardPageProvider
97
<p>The default process for retrieving data from wizard page provider
98
is to call the getRecorderData() methods of all pages until the key is found.
98
is to call the <code>getRecorderData()</code> methods of all pages until the key is found.
99
Thus, only the getRecorderData() of the pages must be implemented.</p>
99
Thus, only the <code>getRecorderData()</code> of the pages must be implemented.</p>
100
<p><strong>Defining
100
<p><strong>Defining
101
the Exec Options Provider</strong></p>
101
the Exec Options Provider</strong></p>
102
<p>Extend the Exec Options Provider to enable
102
<p>Extend the Exec Options Provider to enable
103
agent parameters to be set before the RecorderAgent is launched. For example,
103
agent parameters to be set before the Recorder Agent is launched. For example,
104
you can define JVM arguments or enable additional files to be deployed.</p>
104
you can define JVM arguments or enable additional files to be deployed.</p>
105
<div class="p"><ul><li>Interface: IRecorderExecOptionsProvider</li>
105
<div class="p"><ul><li>Interface: IRecorderExecOptionsProvider</li>
106
<li>Abstract class: AbstractRecorderExecOptionsProvider</li>
106
<li>Abstract class: AbstractRecorderExecOptionsProvider</li>
Lines 108-114 Link Here
108
</div>
108
</div>
109
<p>After you have extended the recorder user interface wizard and
109
<p>After you have extended the recorder user interface wizard and
110
the four main GRF helper classes, your new recorder will be set to display
110
the four main GRF helper classes, your new recorder will be set to display
111
in the Select a recorder type window.</p>
111
in the <i>Select a Recorder Type</i> window.</p>
112
</div>
112
</div>
113
</div>
113
</div>
114
<div>
114
<div>
(-)ref/rtestextpoint.xhtml (-11 / +6 lines)
Lines 3-9 Link Here
3
<html xmlns="http://www.w3.org/1999/xhtml">
3
<html xmlns="http://www.w3.org/1999/xhtml">
4
<!-- 
4
<!-- 
5
/**********************************************************************
5
/**********************************************************************
6
 * Copyright (c) 2006 IBM Corporation.
6
 * Copyright (c) 2006, 2007 IBM Corporation.
7
 * All rights reserved. This content is made available under 
7
 * All rights reserved. This content is made available under 
8
 * the terms of the Eclipse Public License v1.0
8
 * the terms of the Eclipse Public License v1.0
9
 * which accompanies this distribution, and is available at
9
 * which accompanies this distribution, and is available at
Lines 79-85 Link Here
79
79
80
	<dt><a id="org.eclipse.hyades.test.core.launchconfigExecutionHistoryDefaults">org.eclipse.hyades.test.core.launchconfigExecutionHistoryDefaults</a></dt>
80
	<dt><a id="org.eclipse.hyades.test.core.launchconfigExecutionHistoryDefaults">org.eclipse.hyades.test.core.launchconfigExecutionHistoryDefaults</a></dt>
81
	<dd>
81
	<dd>
82
	This extension point allows client plugins to define the default settings
82
	This extension point allows client plug-ins to define the default settings
83
	presented in the Test Log tab of the test launch configuration, for a given
83
	presented in the Test Log tab of the test launch configuration, for a given
84
	test type.
84
	test type.
85
	<br/><br/>
85
	<br/><br/>
Lines 87-93 Link Here
87
87
88
	<dt><a id="org.eclipse.hyades.test.core.launchconfigExecutionHistoryDefaults2">org.eclipse.hyades.test.core.launchconfigExecutionHistoryDefaults2</a></dt>
88
	<dt><a id="org.eclipse.hyades.test.core.launchconfigExecutionHistoryDefaults2">org.eclipse.hyades.test.core.launchconfigExecutionHistoryDefaults2</a></dt>
89
	<dd>
89
	<dd>
90
	This extension point allows client plugins to define the default settings
90
	This extension point allows client plug-ins to define the default settings
91
	presented in the Test Log tab of a user-defined launch configuration.
91
	presented in the Test Log tab of a user-defined launch configuration.
92
	<br/><br/>
92
	<br/><br/>
93
	</dd>
93
	</dd>
Lines 102-108 Link Here
102
102
103
	<dt><a id="org.eclipse.hyades.test.core.launchconfigLaunchableType">org.eclipse.hyades.test.core.launchconfigLaunchableType</a></dt>
103
	<dt><a id="org.eclipse.hyades.test.core.launchconfigLaunchableType">org.eclipse.hyades.test.core.launchconfigLaunchableType</a></dt>
104
	<dd>
104
	<dd>
105
	This extension registers the test types that are launchable by the Test Launch
105
	This extension registers the test types that can be launched by the Test Launch
106
	Configuration, or a launch configuration derived from the test launch
106
	Configuration, or a launch configuration derived from the test launch
107
	configuration.
107
	configuration.
108
	<br/><br/>
108
	<br/><br/>
Lines 136-142 Link Here
136
	
136
	
137
	<dt><a id="org.eclipse.hyades.test.core.RegisteredExecutionComponentImpl">org.eclipse.hyades.test.core.RegisteredExecutionComponentImpl</a></dt>
137
	<dt><a id="org.eclipse.hyades.test.core.RegisteredExecutionComponentImpl">org.eclipse.hyades.test.core.RegisteredExecutionComponentImpl</a></dt>
138
	<dd>
138
	<dd>
139
	This extension point registers a remotable execution component for use in the
139
	This extension point registers an execution component (local or remote) for use in the
140
	test launch sequence and associates it with one or more supported test types. 
140
	test launch sequence and associates it with one or more supported test types. 
141
	See
141
	See
142
	<a href="http://www.eclipse.org/tptp/home/archives/hyades/execution_environment/Launch_A_Test_On_A_Specified_Node_And_Send_Control_Events.html">Run a single test on a node and send control events</a>
142
	<a href="http://www.eclipse.org/tptp/home/archives/hyades/execution_environment/Launch_A_Test_On_A_Specified_Node_And_Send_Control_Events.html">Run a single test on a node and send control events</a>
Lines 256-267 Link Here
256
	navigator.
256
	navigator.
257
	<br/><br/>
257
	<br/><br/>
258
	</dd>
258
	</dd>
259
	
259
		
260
	<dt><a id="org.eclipse.hyades.test.ui.menuExtension">org.eclipse.hyades.test.ui.menuExtension</a></dt>
261
	<dd>
262
	<br/><br/>
263
	</dd>
264
	
265
	<dt><a id="org.eclipse.hyades.test.ui.valueObjectExtension">org.eclipse.hyades.test.ui.valueObjectExtension</a></dt>
260
	<dt><a id="org.eclipse.hyades.test.ui.valueObjectExtension">org.eclipse.hyades.test.ui.valueObjectExtension</a></dt>
266
	<dd>
261
	<dd>
267
	<br/><br/>
262
	<br/><br/>
(-)concepts/c_testrecorders.html (-2 / +2 lines)
Lines 23-29 Link Here
23
<meta name="DC.Language" content="en-us" />
23
<meta name="DC.Language" content="en-us" />
24
<!--
24
<!--
25
/**********************************************************************
25
/**********************************************************************
26
 * Copyright (c) 2005, 2006 IBM Corporation.
26
 * Copyright (c) 2005, 2007 IBM Corporation.
27
 * All rights reserved.   This content
27
 * All rights reserved.   This content
28
 * is made available under the terms of the Eclipse Public License v1.0
28
 * is made available under the terms of the Eclipse Public License v1.0
29
 * which accompanies this distribution, and is available at
29
 * which accompanies this distribution, and is available at
Lines 38-44 Link Here
38
<link rel="stylesheet" type="text/css" href="../css/book.css" />
38
<link rel="stylesheet" type="text/css" href="../css/book.css" />
39
<title>Test recorders</title>
39
<title>Test recorders</title>
40
</head>
40
</head>
41
<body id="c_testrecorders"><a name="c_testrecorders"><!-- --></a>
41
<body><a name="c_testrecorders"><!-- --></a>
42
<h1 class="topictitle1">Test recorders</h1>
42
<h1 class="topictitle1">Test recorders</h1>
43
<div><p>A test recorder captures user interactions with an application.
43
<div><p>A test recorder captures user interactions with an application.
44
These interactions are saved, and a test is generated from these recorded
44
These interactions are saved, and a test is generated from these recorded
(-)concepts/c_recuiwizard.html (-2 / +2 lines)
Lines 25-31 Link Here
25
<meta name="DC.Language" content="en-us" />
25
<meta name="DC.Language" content="en-us" />
26
<!--
26
<!--
27
/**********************************************************************
27
/**********************************************************************
28
 * Copyright (c) 2005, 2006 IBM Corporation.
28
 * Copyright (c) 2005, 2007 IBM Corporation.
29
 * All rights reserved.   This content
29
 * All rights reserved.   This content
30
 * is made available under the terms of the Eclipse Public License v1.0
30
 * is made available under the terms of the Eclipse Public License v1.0
31
 * which accompanies this distribution, and is available at
31
 * which accompanies this distribution, and is available at
Lines 40-46 Link Here
40
<link rel="stylesheet" type="text/css" href="../css/book.css" />
40
<link rel="stylesheet" type="text/css" href="../css/book.css" />
41
<title>Recorder user interface wizard</title>
41
<title>Recorder user interface wizard</title>
42
</head>
42
</head>
43
<body id="c_recuiwizard"><a name="c_recuiwizard"><!-- --></a>
43
<body><a name="c_recuiwizard"><!-- --></a>
44
<h1 class="topictitle1">Recorder user interface wizard</h1>
44
<h1 class="topictitle1">Recorder user interface wizard</h1>
45
<div><p>The recorder user interface wizard records a session with a Web
45
<div><p>The recorder user interface wizard records a session with a Web
46
application, generates a test from the recording, and then opens the test
46
application, generates a test from the recording, and then opens the test
(-)concepts/c_exnewtestrec.html (-5 / +5 lines)
Lines 20-26 Link Here
20
<meta name="DC.Language" content="en-us" />
20
<meta name="DC.Language" content="en-us" />
21
<!--
21
<!--
22
/**********************************************************************
22
/**********************************************************************
23
 * Copyright (c) 2005, 2006 IBM Corporation.
23
 * Copyright (c) 2005, 2007 IBM Corporation.
24
 * All rights reserved.   This content
24
 * All rights reserved.   This content
25
 * is made available under the terms of the Eclipse Public License v1.0
25
 * is made available under the terms of the Eclipse Public License v1.0
26
 * which accompanies this distribution, and is available at
26
 * which accompanies this distribution, and is available at
Lines 35-41 Link Here
35
<link rel="stylesheet" type="text/css" href="../css/book.css" />
35
<link rel="stylesheet" type="text/css" href="../css/book.css" />
36
<title>Example of a new test recorder</title>
36
<title>Example of a new test recorder</title>
37
</head>
37
</head>
38
<body id="c_exnewtestrec"><a name="c_exnewtestrec"><!-- --></a>
38
<body><a name="c_exnewtestrec"><!-- --></a>
39
<h1 class="topictitle1">Example of a new test recorder</h1>
39
<h1 class="topictitle1">Example of a new test recorder</h1>
40
<div><p>The following example shows how the Generic Recorder extension
40
<div><p>The following example shows how the Generic Recorder extension
41
point might be defined for the HTTP recorder in the plugin.xml file of the
41
point might be defined for the HTTP recorder in the plugin.xml file of the
Lines 53-61 Link Here
53
		fileExtension="rec"
53
		fileExtension="rec"
54
		icon="icons/full/obj16/http.gif"
54
		icon="icons/full/obj16/http.gif"
55
	&lt;/extension&gt;</pre>
55
	&lt;/extension&gt;</pre>
56
<p>In this example, recorderAgent is the class that runs on the agent that
56
<p>In this example, the <code>recorderAgent</code> attribute contains the name of the class that runs on the agent that
57
starts the recorder. This extends the class RecorderAgent and must include
57
starts the recorder. This class extends the <code>org.eclipse.hyades.execution.recorder.remote.RecorderAgent</code> class and must include
58
a main and a run method. For more information about this extension point,
58
<code>main()</code> and <code>run()</code> methods. For more information about this extension point,
59
see the <a href="../../org.eclipse.tptp.platform.doc.isv/ref/rextpoint.xhtml#org.eclipse.hyades.test.core.Recorder">generic
59
see the <a href="../../org.eclipse.tptp.platform.doc.isv/ref/rextpoint.xhtml#org.eclipse.hyades.test.core.Recorder">generic
60
recorder extension point documentation</a></p>
60
recorder extension point documentation</a></p>
61
</div>
61
</div>
(-)concepts/c_genrecframework.html (-12 / +11 lines)
Lines 25-31 Link Here
25
<meta name="DC.Language" content="en-us" />
25
<meta name="DC.Language" content="en-us" />
26
<!--
26
<!--
27
/**********************************************************************
27
/**********************************************************************
28
 * Copyright (c) 2005, 2006 IBM Corporation.
28
 * Copyright (c) 2005, 2007 IBM Corporation.
29
 * All rights reserved.   This content
29
 * All rights reserved.   This content
30
 * is made available under the terms of the Eclipse Public License v1.0
30
 * is made available under the terms of the Eclipse Public License v1.0
31
 * which accompanies this distribution, and is available at
31
 * which accompanies this distribution, and is available at
Lines 40-46 Link Here
40
<link rel="stylesheet" type="text/css" href="../css/book.css" />
40
<link rel="stylesheet" type="text/css" href="../css/book.css" />
41
<title>Generic Recorder Framework</title>
41
<title>Generic Recorder Framework</title>
42
</head>
42
</head>
43
<body id="c_genrecframework"><a name="c_genrecframework"><!-- --></a>
43
<body><a name="c_genrecframework"><!-- --></a>
44
<h1 class="topictitle1">Generic Recorder Framework</h1>
44
<h1 class="topictitle1">Generic Recorder Framework</h1>
45
<div><p>The Generic Recorder Framework (GRF) provides a common user interface
45
<div><p>The Generic Recorder Framework (GRF) provides a common user interface
46
experience for all users that record tests. The GRF simplifies the process
46
experience for all users that record tests. The GRF simplifies the process
Lines 48-64 Link Here
48
you could define one custom set of wizard pages to reuse for multiple recorders.</p>
48
you could define one custom set of wizard pages to reuse for multiple recorders.</p>
49
<p>The GRF is backwards-compatible with previous versions of the Test and
49
<p>The GRF is backwards-compatible with previous versions of the Test and
50
Performance Tools Platform (TPTP).</p>
50
Performance Tools Platform (TPTP).</p>
51
<p>The GRF includes the extension point org.eclipse.hyades.test.core.Recorder,
51
<p>The GRF includes the <code>org.eclipse.hyades.test.core.Recorder</code> extension point,
52
which contains four main helper classes and a recorder user interface wizard.
52
for creating a new recorder.  The extension point can be used to perform the following steps:</p>
53
The following is a list of the four helper classes:</p>
53
<ol><li><span>Define the Recorder Message Provider.</span></li>
54
<ul><li>recorderClientHelper</li>
54
<li><span>Define the Recorder Client Helper.</span></li>
55
<li>WizardPageProvider</li>
55
<li><span>Define the Wizard Page Provider.</span></li>
56
<li>execOptionsProvider</li>
56
<li><span>Define the Execution Options Provider.</span></li>
57
<li>recorderMessageHandler</li>
57
</ol>
58
</ul>
58
<p>The recorder user interface wizard records a 
59
session, generates a test from the recording, and then opens the test in the test editor.</p>
59
<p>For more information about these classes, see the <a href="../../org.eclipse.tptp.platform.doc.isv/ref/rextpoint.xhtml#org.eclipse.hyades.test.core.Recorder">generic recorder extension point documentation</a>.</p>
60
<p>For more information about these classes, see the <a href="../../org.eclipse.tptp.platform.doc.isv/ref/rextpoint.xhtml#org.eclipse.hyades.test.core.Recorder">generic recorder extension point documentation</a>.</p>
60
<p>The recorder user interface wizard records a session with a Web application,
61
generates a test from the recording, and then opens the test in the test editor.</p>
62
</div>
61
</div>
63
<div>
62
<div>
64
<div class="familylinks">
63
<div class="familylinks">
(-)notices.html (-2 / +2 lines)
Lines 1-5 Link Here
1
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
1
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2
<html>
2
<html lang="en-us" xml:lang="en-us">
3
<head>
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
<link rel="STYLESHEET" HREF="css/book.css" charset="ISO-8859-1" type="text/css">
5
<link rel="STYLESHEET" HREF="css/book.css" charset="ISO-8859-1" type="text/css">
Lines 8-14 Link Here
8
<body>
8
<body>
9
9
10
<h3><a name="Notices"></a>Notices</h3>
10
<h3><a name="Notices"></a>Notices</h3>
11
<p>The material in this guide is Copyright (c) IBM Corporation 2006.</p>
11
<p>The material in this guide is Copyright (c) IBM Corporation 2006, 2007.</p>
12
<p><a href="about.html">Terms and conditions regarding the use of this
12
<p><a href="about.html">Terms and conditions regarding the use of this
13
guide.</a></p>
13
guide.</a></p>
14
</body>
14
</body>
(-)about.html (-1 / +1 lines)
Lines 1-6 Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml">
3
<html lang="en-us" xml:lang="en-us" xmlns="http://www.w3.org/1999/xhtml">
4
<head>
4
<head>
5
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
5
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
6
<title>About</title>
6
<title>About</title>

Return to bug 171664