How to add the Creation Time column to the Test Hosts List tab?
Release : 20.2
Component : Spectrum OneClick
In order to add an extra column in the Test Host List tab, you have to create the following directory structure on the OneClick web server machine:
$SPECROOT/custom/spm-oc/config/ directory
Create the following file under the $SPECROOT/custom/spm-oc/config/ directory:
table-testhost-config.xml
Add the following entries in the table-testhost-config.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<table idref="table-testhost-config">
<column-list>
<column>
<name>Creation Time</name>
<content>
<attribute>0x11b41</attribute>
<renderer>
com.aprisma.spectrum.app.util.render.DateRenderer
</renderer>
</content>
<hidden-by-default>false</hidden-by-default>
<swing-cell-template>
<text>
<renderer>
com.aprisma.spectrum.app.util.render.CommentedTextRenderer
</renderer>
</text>
</swing-cell-template>
</column>
</column-list>
</table>
Save the changes.
Launch the OneClick Console.