Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

How can I import Manual Test Parameters into SilkCentral Test Manager from a Word or Excel Document?

How can I import Manual Test Parameters into SilkCentral Test Manager from a Word or Excel Document?

Problem:

How can I import Manual Test Parameters into SilkCentral Test Manager from a Word or Excel Document?

Resolution:

Parameters are defined only for manual tests and you may define as many as you want. They are particularly useful if you have a manual test or manual test step description and want placeholders for variables that will be replaced with other text during the execution of a manual test.

To create parameters within your Manual Test document.

  • For Word 2003

To create a new style go to Format - Styles and Formatting. In the Styles and Formatting task pane, click the "New Style" button which brings up the "New Style" dialog box. In here you can create the particular style you wish for the parameter.

Impose the style created on the parameter you wish to pass to SilkCentral Test Manager. Here we have imposed the MachineName style on "Machine 1"

word doc

IMPORTANT: Parameters must be defined between the Manual Test (style name seg_man_title) and the first Manual Test Step (style name seg_man_step)

  • For Word 2007

Click on the Expand button (step 1 in screenshot) to display the Styles pane. Then click on the "New Style" button (step 2 in screenshot) to open the New Style dialog box:

word 2007 style

Then in the New Style dialog shown below you can create the particular style you wish for the parameter:

word 2007 style

  • For Excel 2003

In order to create a new style in Excel 2003 you need to go to Format – Style to open the Style dialog box:

excel 2003 style

You can then type in a new style name, in this case “MachineName” and click Modify to display the Format Cell dialog box:

excel 2003 style

In this dialog box you can define what font format to apply to the Style for the parameter.

  • For Excel 2007

If you are using Excel 2007, go to Cell Styles dialog as shown below and click “New Cell Style” button (as shown).

excel 2007 style


In the Style dialog, type the name of the style you wish to create:

excel 2007 style

Click "Format" to create the style you wish to apply for the parameter:

excel 2007 style

Once the styles are created and applied you can then follow the following instructions to create the parameter in SilkCentral Test Manager.

To Create the custom parameter in Test Manager.

On the Test Container in which you wish to upload the manual document, click "Parameters" - "Add Custom Parameter"


  • Start the Manual Tests Import tool, select the Word or Excel document, login and select the Project in which you wish to upload the manual document.
  • Click "Edit Mapping" - "Parameters" - "Add.."
Style Mapping
  • Office style - type the name of the style. This must be one of the seg_ styles and you must type the name of the style exactly as it appears. MS Office style names are case sensitive; for example, seg_man_title is valid, but Seg_Man_Title is not.

    Name - type the name of the SilkCentral Test Manager parameter to which you want to map this style. This may be a new or an existing parameter. Parameter names are not case sensitive.

    Type - String is currently the only available type. In future releases, we may make additional values available.

Mapping Styles
  • Press "OK" and continue choosing the test container / folder you wish to upload the document to.
  • After this is complete you will notice the parameter in the Word or Excel document has been uploaded to SilkCentral Test Manager.

Imported Parameter





Old KB# 24635

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:47
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.