Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Mueller2018-01-15 08:29:30 -0500
committerMarvin Mueller2018-01-30 02:07:50 -0500
commitf8f8987eb97e282a9b14b08a47920481839f195d (patch)
tree2833561a7b8800bb47b038bd047c1b8548e10d63
parentc8b5232c77921c1d799b5fb618fdc86ca5f7957d (diff)
downloadorg.eclipse.jubula.core-f8f8987eb97e282a9b14b08a47920481839f195d.tar.gz
org.eclipse.jubula.core-f8f8987eb97e282a9b14b08a47920481839f195d.tar.xz
org.eclipse.jubula.core-f8f8987eb97e282a9b14b08a47920481839f195d.zip
Add support for adding informations into the testresults summaries
-rw-r--r--org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/ClientTestImpl.java7
-rw-r--r--org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/IClientTest.java8
-rw-r--r--org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/businessprocess/TestExecution.java18
-rw-r--r--org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/model/ITestResultSummaryPO.java12
-rw-r--r--org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/model/TestResultSummaryPO.java30
-rw-r--r--org.eclipse.jubula.client.teststyle.impl.standard/plugin.properties2
-rw-r--r--org.eclipse.jubula.client.ui.rcp/resources/library/unbound_modules_concrete_8.6.jubbin39621 -> 40163 bytes
-rw-r--r--org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/i18n/Messages.java1
-rw-r--r--org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/i18n/messages.properties1
-rw-r--r--org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/views/TestresultSummaryView.java54
-rw-r--r--org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/application.xml1
-rw-r--r--org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/application2.xml40
-rw-r--r--org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/content.xml1
-rw-r--r--org.eclipse.jubula.documentation/releasenotes/en/docbook/8.6.0/features.xml12
-rw-r--r--org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/tester/AbstractApplicationTester.java9
-rw-r--r--org.eclipse.jubula.toolkit.concrete.provider/resources/xml/ComponentConfiguration.xml8
-rw-r--r--org.eclipse.jubula.toolkit.concrete.provider/src/org/eclipse/jubula/toolkit/concrete/provider/I18nStrings.properties1
17 files changed, 189 insertions, 16 deletions
diff --git a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/ClientTestImpl.java b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/ClientTestImpl.java
index 7e3d1eac6..3bfef06d9 100644
--- a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/ClientTestImpl.java
+++ b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/ClientTestImpl.java
@@ -1441,11 +1441,8 @@ public class ClientTestImpl implements IClientTest {
this.m_generateMonitoringReport = generateMonitoringReport;
}
- /**
- * @return the Test Result Summary for the current test execution, or for
- * the previous test execution if no test is currently running.
- */
- private ITestResultSummaryPO getTestresultSummary() {
+ /** {@inheritDoc} */
+ public ITestResultSummaryPO getTestresultSummary() {
return m_summary;
}
diff --git a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/IClientTest.java b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/IClientTest.java
index cdc934fdd..8520daa7d 100644
--- a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/IClientTest.java
+++ b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/IClientTest.java
@@ -30,6 +30,7 @@ import org.eclipse.jubula.client.core.model.IAUTMainPO;
import org.eclipse.jubula.client.core.model.INodePO;
import org.eclipse.jubula.client.core.model.ISpecTestCasePO;
import org.eclipse.jubula.client.core.model.ITestJobPO;
+import org.eclipse.jubula.client.core.model.ITestResultSummaryPO;
import org.eclipse.jubula.client.core.model.ITestSuitePO;
import org.eclipse.jubula.client.internal.BaseConnection.NotConnectedException;
import org.eclipse.jubula.client.internal.exceptions.ConnectionException;
@@ -315,6 +316,13 @@ public interface IClientTest {
*/
public Date getTestjobStartTime();
+
+ /**
+ * @return the Test Result Summary for the current test execution, or for
+ * the previous test execution if no test is currently running.
+ */
+ public ITestResultSummaryPO getTestresultSummary();
+
/**
* @param logPath The logPath to set.
*/
diff --git a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/businessprocess/TestExecution.java b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/businessprocess/TestExecution.java
index 1ad262ec1..eea50d66b 100644
--- a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/businessprocess/TestExecution.java
+++ b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/businessprocess/TestExecution.java
@@ -2056,6 +2056,24 @@ public class TestExecution {
/**
* @author BREDEX GmbH
+ *
+ */
+ public class SaveAdditionalSummaryInformation
+ extends AbstractPostExecutionCommand {
+
+ /** {@inheritDoc} */
+ public TestErrorEvent execute() throws JBException {
+ String value = getValueForParam("CompSystem.Value"); //$NON-NLS-1$
+ if (StringUtils.isNotBlank(value)) {
+ ITestResultSummaryPO summary = ClientTest.instance()
+ .getTestresultSummary();
+ summary.addAdditionalInformation(value);
+ }
+ return null;
+ }
+ }
+ /**
+ * @author BREDEX GmbH
* @created 30.04.2013
*/
public abstract class AbstractRestartCmd
diff --git a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/model/ITestResultSummaryPO.java b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/model/ITestResultSummaryPO.java
index cdffbfdc2..bb913ee68 100644
--- a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/model/ITestResultSummaryPO.java
+++ b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/model/ITestResultSummaryPO.java
@@ -81,4 +81,14 @@ public interface ITestResultSummaryPO extends IArchivableTestResultSummary,
* @return whether this result has corresponding test result details
*/
public boolean hasTestResultDetails();
-} \ No newline at end of file
+
+ /**
+ * @return additional information
+ */
+ public String getAdditionalInformation();
+
+ /**
+ * @param info the information to add
+ */
+ public void addAdditionalInformation(String info);
+}
diff --git a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/model/TestResultSummaryPO.java b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/model/TestResultSummaryPO.java
index 6e2aff18b..3ca401a95 100644
--- a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/model/TestResultSummaryPO.java
+++ b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/model/TestResultSummaryPO.java
@@ -39,6 +39,7 @@ import javax.persistence.TemporalType;
import javax.persistence.Transient;
import javax.persistence.Version;
+import org.apache.commons.lang.StringUtils;
import org.eclipse.jubula.client.core.persistence.GeneralStorage;
import org.eclipse.jubula.client.core.persistence.TestResultPM;
import org.eclipse.jubula.tools.internal.constants.StringConstants;
@@ -201,6 +202,8 @@ class TestResultSummaryPO implements ITestResultSummaryPO {
private String m_almRepositoryName = null;
/** the URL of the dashboard */
private String m_dashboardURL = null;
+ /** additional information which are saved with a CAP */
+ private String m_additionalInformation;
/** whether this report has test result details */
private Boolean m_hasDetails = null;
@@ -1147,4 +1150,31 @@ class TestResultSummaryPO implements ITestResultSummaryPO {
return m_hasDetails;
}
+
+ /**
+ * @return additional information
+ */
+ @Basic
+ @Column(name = "OTHER_INFO", length = 1000)
+ public String getAdditionalInformation() {
+ return m_additionalInformation;
+ }
+
+ /**
+ * @param additionalInformation additional information
+ */
+ public void setAdditionalInformation(String additionalInformation) {
+ m_additionalInformation = additionalInformation;
+ }
+
+ /**
+ * @param info the information to add
+ */
+ public void addAdditionalInformation(String info) {
+ if (StringUtils.isNotBlank(m_additionalInformation)) {
+ m_additionalInformation += StringConstants.SEMICOLON + info;
+ } else {
+ m_additionalInformation = info;
+ }
+ }
} \ No newline at end of file
diff --git a/org.eclipse.jubula.client.teststyle.impl.standard/plugin.properties b/org.eclipse.jubula.client.teststyle.impl.standard/plugin.properties
index 373b3a851..0536a3f80 100644
--- a/org.eclipse.jubula.client.teststyle.impl.standard/plugin.properties
+++ b/org.eclipse.jubula.client.teststyle.impl.standard/plugin.properties
@@ -5,7 +5,7 @@
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
###############################################################################
-check.todo.name=show comments with a special naming(text)
+check.todo.name=Show nodes containing a specific text as To-Do's
check.todo.description=Looks for a specific text in the selected context
check.todo.annotation.description=Text to search for
check.todo.case.sensitive.description=Should the search be case sensitive
diff --git a/org.eclipse.jubula.client.ui.rcp/resources/library/unbound_modules_concrete_8.6.jub b/org.eclipse.jubula.client.ui.rcp/resources/library/unbound_modules_concrete_8.6.jub
index 246eca538..473a0855a 100644
--- a/org.eclipse.jubula.client.ui.rcp/resources/library/unbound_modules_concrete_8.6.jub
+++ b/org.eclipse.jubula.client.ui.rcp/resources/library/unbound_modules_concrete_8.6.jub
Binary files differ
diff --git a/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/i18n/Messages.java b/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/i18n/Messages.java
index f89a26e57..77c1b4002 100644
--- a/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/i18n/Messages.java
+++ b/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/i18n/Messages.java
@@ -95,6 +95,7 @@ public class Messages extends NLS {
public static String TestResultNodePropertySourceStepType;
public static String TestResultNodePropertySourceTestResult;
public static String TestResultNodePropertySourceTimeStamp;
+ public static String TestresultSummaryAdditionalInfo;
public static String TestresultSummaryAlmReportState;
public static String TestresultSummaryAutAgentHostname;
public static String TestresultSummaryAutConf;
diff --git a/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/i18n/messages.properties b/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/i18n/messages.properties
index 8c07d877c..88317a091 100644
--- a/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/i18n/messages.properties
+++ b/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/i18n/messages.properties
@@ -81,6 +81,7 @@ TestResultNodePropertySourceStepStatus=Status
TestResultNodePropertySourceStepType=Step Type
TestResultNodePropertySourceTestResult=Test Result
TestResultNodePropertySourceTimeStamp=Timestamp
+TestresultSummaryAdditionalInfo=Additional Info
TestresultSummaryAlmReportState=ALM Report Status
TestresultSummaryAutAgentHostname=AUT Agent Hostname
TestresultSummaryAutConf=AUT Configuration Name
diff --git a/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/views/TestresultSummaryView.java b/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/views/TestresultSummaryView.java
index 99d6dd0cd..3156ddf02 100644
--- a/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/views/TestresultSummaryView.java
+++ b/org.eclipse.jubula.client.ui/src/org/eclipse/jubula/client/ui/views/TestresultSummaryView.java
@@ -72,7 +72,7 @@ import org.eclipse.jubula.client.ui.utils.JobUtils;
import org.eclipse.jubula.toolkit.common.businessprocess.ToolkitSupportBP;
import org.eclipse.jubula.toolkit.common.exception.ToolkitPluginException;
import org.eclipse.jubula.tools.internal.constants.MonitoringConstants;
-import org.eclipse.jubula.tools.internal.constants.StringConstants;
+import static org.eclipse.jubula.tools.internal.constants.StringConstants.EMPTY;
import org.eclipse.jubula.tools.internal.exception.JBException;
import org.eclipse.jubula.tools.internal.i18n.I18n;
import org.eclipse.jubula.tools.internal.messagehandling.MessageIDs;
@@ -145,6 +145,11 @@ public class TestresultSummaryView extends ViewPart implements
Messages.TestresultSummaryNoData;
/**
+ * <code>TESTRESULT_SUMMARY_ADDITIONAL_INFO</code>
+ */
+ private static final String TESTRESULT_SUMMARY_ADDITIONAL_INFO =
+ Messages.TestresultSummaryAdditionalInfo;
+ /**
* <code>TESTRESULT_SUMMARY_NUMBER_OF_FAILED_CAPS</code>
*/
private static final String TESTRESULT_SUMMARY_NUMBER_OF_FAILED_CAPS =
@@ -389,7 +394,7 @@ public class TestresultSummaryView extends ViewPart implements
*/
private TestresultFilterJob m_filterJob = new TestresultFilterJob(
Messages.JobFilterSummaryView,
- StringConstants.EMPTY);
+ EMPTY);
/**
* The constructor.
@@ -449,6 +454,7 @@ public class TestresultSummaryView extends ViewPart implements
addMonitoringIdColumn(m_tableViewer);
addMonitoringValueColumn(m_tableViewer);
addMonitoringReportColumn(m_tableViewer);
+ addAdditonalInfoColumn(m_tableViewer);
getSite().setSelectionProvider(m_tableViewer);
m_tableViewer.setContentProvider(new ArrayContentProvider());
@@ -737,7 +743,6 @@ public class TestresultSummaryView extends ViewPart implements
// "filter by" label
Label searchLabel = new Label(parent, SWT.NONE);
searchLabel.setText(Messages.TestresultSummaryFilterLabel);
-
// combo box to change column for filter
m_filterCombo = new Combo(parent, SWT.DROP_DOWN | SWT.READ_ONLY);
String[] items = new String[] { TESTRESULT_SUMMARY_TESTRUN_ID,
@@ -767,7 +772,8 @@ public class TestresultSummaryView extends ViewPart implements
TESTRESULT_SUMMARY_CMD_PARAM,
TESTRESULT_SUMMARY_TESTRUN_RELEVANT,
TESTRESULT_SUMMARY_DETAILS_AVAILABLE,
- TESTRESULT_SUMMARY_NUMBER_OF_FAILED_CAPS };
+ TESTRESULT_SUMMARY_NUMBER_OF_FAILED_CAPS,
+ TESTRESULT_SUMMARY_ADDITIONAL_INFO};
Arrays.sort(items);
m_filterCombo.setItems(items);
m_filterCombo.addListener(SWT.Selection, new Listener() {
@@ -989,6 +995,33 @@ public class TestresultSummaryView extends ViewPart implements
}
/**
+ * Adds a "AutServer" column to the given viewer.
+ * @param tableViewer The viewer to which the column will be added.
+ */
+ private void addAdditonalInfoColumn(
+ TableViewer tableViewer) {
+ TableViewerColumn column = new TableViewerColumn(tableViewer, SWT.NONE);
+ column.getColumn().setWidth(0);
+ column.getColumn().setText(TESTRESULT_SUMMARY_ADDITIONAL_INFO);
+ column.getColumn().setMoveable(true);
+ column.setLabelProvider(new TestresultSummaryViewColumnLabelProvider() {
+ public String getText(Object element) {
+ return StringUtils.defaultString(
+ ((ITestResultSummaryPO)element).getAdditionalInformation());
+ }
+ });
+ new ColumnViewerSorter(tableViewer, column) {
+ @Override
+ protected int doCompare(Viewer viewer, Object e1, Object e2) {
+ return getCommonsComparator().compare(
+ ((ITestResultSummaryPO)e1).getAdditionalInformation(),
+ ((ITestResultSummaryPO)e2).getAdditionalInformation());
+ }
+ };
+ createMenuItem(m_headerMenu, column.getColumn());
+ }
+
+ /**
* Adds a "Testjob name" column to the given viewer.
* @param tableViewer The viewer to which the column will be added.
*/
@@ -1033,7 +1066,7 @@ public class TestresultSummaryView extends ViewPart implements
if (date != null) {
return DTF_LONG.format(date);
}
- return ObjectUtils.toString(date, StringConstants.EMPTY);
+ return ObjectUtils.toString(date, EMPTY);
}
});
createMenuItem(m_headerMenu, column.getColumn());
@@ -1993,7 +2026,7 @@ public class TestresultSummaryView extends ViewPart implements
/**
* <code>m_filterText</code>
*/
- private String m_filterText = StringConstants.EMPTY;
+ private String m_filterText = EMPTY;
/**
* @param name the name of the job
@@ -2034,7 +2067,7 @@ public class TestresultSummaryView extends ViewPart implements
@SuppressWarnings("synthetic-access")
public boolean isElementVisible(Viewer viewer, Object element) {
ITestResultSummaryPO m = (ITestResultSummaryPO) element;
- String metaValue = StringConstants.EMPTY;
+ String metaValue = EMPTY;
if (m_filterType.equals(TESTRESULT_SUMMARY_DATE)) {
metaValue = DTF_DEFAULT.format(m.getTestsuiteDate());
} else if (m_filterType.equals(TESTRESULT_SUMMARY_TESTRUN_ID)) {
@@ -2042,8 +2075,7 @@ public class TestresultSummaryView extends ViewPart implements
} else if (m_filterType
.equals(TESTRESULT_SUMMARY_TEST_JOB_START_TIME)) {
Date date = m.getTestJobStartTime();
- metaValue = date != null ? DTF_LONG.format(date)
- : StringUtils.EMPTY;
+ metaValue = date != null ? DTF_LONG.format(date) : EMPTY;
} else if (m_filterType.equals(TESTRESULT_SUMMARY_TEST_JOB)) {
metaValue = m.getTestJobName();
} else if (m_filterType.equals(TESTRESULT_SUMMARY_TESTRUN_STATE)) {
@@ -2101,6 +2133,10 @@ public class TestresultSummaryView extends ViewPart implements
} else if (m_filterType
.equals(TESTRESULT_SUMMARY_COMMENT_TITLE)) {
metaValue = StringUtils.defaultString(m.getCommentTitle());
+ } else if (m_filterType
+ .equals(TESTRESULT_SUMMARY_ADDITIONAL_INFO)) {
+ metaValue = StringUtils.defaultString(
+ m.getAdditionalInformation());
}
return wordMatches(metaValue);
}
diff --git a/org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/application.xml b/org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/application.xml
index fc7d8d04c..2d1716919 100644
--- a/org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/application.xml
+++ b/org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/application.xml
@@ -39,4 +39,5 @@
</listitem>
</itemizedlist>
</para>
+
</section> \ No newline at end of file
diff --git a/org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/application2.xml b/org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/application2.xml
new file mode 100644
index 000000000..c2194224d
--- /dev/null
+++ b/org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/application2.xml
@@ -0,0 +1,40 @@
+<!--
+ Copyright (c) 2018 BREDEX GmbH.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+-->
+
+<section xml:id="actionForStoringValueInSummary" version="5.0" xmlns="http://docbook.org/ns/docbook"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:xl="http://www.w3.org/1999/xlink" >
+ <title>Store value in Testresult Summary</title>
+
+ <para><emphasis>Store Value in the Testresult Summary(by declaring the value)</emphasis></para>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Use this action to store a value you specify into the Testresult Summary. This value is added at the end of the
+ <literal>Additional Info</literal> section in the testresult summary view. It is divided by a semicolon <literal>;</literal> .
+ This is useful if you want to give specific information which you can filter.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Parameters:
+
+ <itemizedlist>
+ <listitem>
+ <para>
+ <xref linkend="value" xrefstyle="template:%t"/>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+</section> \ No newline at end of file
diff --git a/org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/content.xml b/org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/content.xml
index 4fc4b7f53..794ab67be 100644
--- a/org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/content.xml
+++ b/org.eclipse.jubula.documentation/reference/en/docbook/actions/usableOnMostApps/forStoringValues/content.xml
@@ -14,6 +14,7 @@
<xi:include href="generalComponents.xml"/>
<xi:include href="application.xml"/>
+ <xi:include href="application2.xml"/>
<xi:include href="tableComponents.xml"/>
<xi:include href="treeComponents.xml"/>
<xi:include href="treeTableComponents.xml"/>
diff --git a/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.6.0/features.xml b/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.6.0/features.xml
index a13b7a386..16805bd06 100644
--- a/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.6.0/features.xml
+++ b/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.6.0/features.xml
@@ -123,6 +123,18 @@
</listitem>
</itemizedlist>
<para>
+ <emphasis role="strong">New CAP which can save data into the testresult summary</emphasis>
+</para>
+<itemizedlist>
+ <listitem>
+ <para>
+ We added the possibility to add Information the the testresult summary.
+ A new Action (<literal> Store value in Testresult Summary (ub_app_storeValueInSummary)</literal>)
+ is introduced which saves Strings into the Additional Information section of the testresult summary.
+ </para>
+ </listitem>
+</itemizedlist>
+<para>
<emphasis role="strong">Improving the Save As New / Extract Test Case operations</emphasis>
</para>
<itemizedlist>
diff --git a/org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/tester/AbstractApplicationTester.java b/org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/tester/AbstractApplicationTester.java
index 0f4c803bb..23be341be 100644
--- a/org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/tester/AbstractApplicationTester.java
+++ b/org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/tester/AbstractApplicationTester.java
@@ -546,6 +546,15 @@ public abstract class AbstractApplicationTester implements ITester {
}
/**
+ * Dummy method for client side action
+ * @param value value
+ * @return the value
+ */
+ public String rcSetValue(String value) {
+ return value;
+ }
+
+ /**
* @return The Robot instance
*/
protected abstract IRobot getRobot();
diff --git a/org.eclipse.jubula.toolkit.concrete.provider/resources/xml/ComponentConfiguration.xml b/org.eclipse.jubula.toolkit.concrete.provider/resources/xml/ComponentConfiguration.xml
index c9b66a58d..ac024a932 100644
--- a/org.eclipse.jubula.toolkit.concrete.provider/resources/xml/ComponentConfiguration.xml
+++ b/org.eclipse.jubula.toolkit.concrete.provider/resources/xml/ComponentConfiguration.xml
@@ -355,6 +355,14 @@
</param>
<postExecutionCommand>org.eclipse.jubula.client.core.businessprocess.TestExecution$VariableStorerCmd</postExecutionCommand>
</action>
+ <action name="CompSystem.StoreValueIntoSummary">
+ <method>rcSetValue</method>
+ <param name="CompSystem.Value"
+ descriptionKey="CompSystem.Value.descr" >
+ <type>java.lang.String</type>
+ </param>
+ <postExecutionCommand>org.eclipse.jubula.client.core.businessprocess.TestExecution$SaveAdditionalSummaryInformation</postExecutionCommand>
+ </action>
<action name="CompSystem.CopyToClipboard">
<method>rcCopyToClipboard</method>
<param name="CompSystem.Text"
diff --git a/org.eclipse.jubula.toolkit.concrete.provider/src/org/eclipse/jubula/toolkit/concrete/provider/I18nStrings.properties b/org.eclipse.jubula.toolkit.concrete.provider/src/org/eclipse/jubula/toolkit/concrete/provider/I18nStrings.properties
index 7efc9311f..ab53aceae 100644
--- a/org.eclipse.jubula.toolkit.concrete.provider/src/org/eclipse/jubula/toolkit/concrete/provider/I18nStrings.properties
+++ b/org.eclipse.jubula.toolkit.concrete.provider/src/org/eclipse/jubula/toolkit/concrete/provider/I18nStrings.properties
@@ -104,6 +104,7 @@ CompSystem.Value1=Value 1
CompSystem.Value2=Value 2
CompSystem.ValueOperator=Value Operator
CompSystem.PrepareForShutdown=Prepare for AUT termination
+CompSystem.StoreValueIntoSummary=Store into Testresult summary
CompSystem.SyncShutdownAndRestart=Synchronize termination and re-start of AUT
CompSystem.VerifyCheckboxInSelectedRow=Check Selection of Checkbox in Selected Row
CompSystem.VerifyCheckboxOfRowAtMousePosition=Check Selection of Checkbox at Mouse Position

Back to the top