If SilkTest creates a bitmap at the end of a testcase, is it possible to store that bitmap as a part of the results in SilkCentral Test Manager?

0 Likes

Problem:

If SilkTest creates a bitmap at the end of a testcase, is it possible to store that bitmap as a part of the results in SilkCentral Test Manager?

Resolution:

QUESTION
----------------------------------

If SilkTest creates a bitmap at the end of a testcase, is it possible to store that bitmap as a part of the results in SilkCentral Test Manager?

ANSWER
----------------------------------

Yes, after a testcase completes, all files in the results directory will be uploaded to SilkCentral Test Manager.

E.g. If a bitmap resides in the results directory (and the extension .bmp is not listed in the SilkCentral Test Manager -> Settings -> Project Settings -> File extensions to ignore in results) it automatically will be available in Activities -> Files.


If you do not wish a particular file type to be available in the results, then just add its extension to the list as shown above.

Be aware that in rms.inc (SilkTest) the following code takes care that an error bitmap will only be available in the results directory if at least 1 error occurred:

if (iErrCount 


If you want a bitmap to be generated even if no error occurred you have to modify this code accordingly (e.g."iErrCount

Old KB# 24772
Comment List
Related
Recommended