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 do I attach further files to execution results in SilkCentral Test Manager?

How do I attach further files to execution results in SilkCentral Test Manager?

Problem:

How do I attach further files to execution results in SilkCentral Test Manager?

Resolution:

QUESTION
----------------------------------
How do I attach further files to execution results in SilkCentral Test Manager?

ANSWER
----------------------------------
It is not possible to add additional files to the results of an execution run. The files which are attached to the results are those generated in the same directory from where the test definition is executed on the execution server. If your test definition generates additional files and you would like those to be attached to the results you must ensure that they are generated in the same folder from which the test definition is executed.

For Example.
A SilkTest Test Definition takes a screenshot and saves it to some set directory. When the results are collected by SilkCentral the "Files" tab of the Results dialog will look like:


As you can see from the above only the SilkTest results file was collected. If you look at the code for capturing the screenshot in the SilkTest script it looks like:

Desktop.CaptureBitmap("C:\ScreenShots\testBitmap.bmp")


The screenshot is saved to the directory "C:\ScreenShots\", in order to have the screen shot generated in the same location from where the test definition is executed, therefore the script in your source control system should be edited to look like:

Desktop.CaptureBitmap("testBitmap.bmp")


Now the screenshot will be generated in the same directory as the test definition. If you now execute your SilkTest test definition from SilkCentral Test Manager again you should now see your additional files attached as follows:


Old KB# 24484

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:45
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.