Commodore
Commodore
66 views

Is there a way we can download the size of the attachment from test scripts in Test lab.

There is a requirement from business that they wanted to download the attachment size from Test strict of the test set.

Is there a way we can fetch the sizes of each attachment of test scripts from the test lab.

0 Likes
1 Reply
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Attachments size information are stored in the SMART_REPOSITORY_LOGICAL_FILE table.   You can determine the size of attachments in Test Lab by running a query similar to the one below:

SELECT CR_REFERENCE, CR_REF_ID,SRLF_SIZE FROM CROS_REF
left outer join SMART_REPOSITORY_LOGICAL_FILE ON SRLF_NAME=CR_REFERENCE
where cr_entity in ( 'STEP','TESTCYCL','RUN',)

 

 

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.