Support Article
Print preview displays 'Loading label text' on top of document
SA-58059
Summary
Print preview displays 'Loading label text' on top of the document.
Error Messages
Not Applicable.
Steps to Reproduce
- In a section include a Print icon
- Configure an action set on the icon to launch a harness
- Refer the harness that has the content to print
- Run the case and click the Print icon
Root Cause
The window.print() method is triggered even before the complete content is loaded from the section. Hence, it displays as 'loading'.
Resolution
Perform the following local-change:Replace 'window.print();' method with 'window.setTimeout("window.print()", 500);' in the Harness_Print.js file. This ensures the print preview to loads after all the content is loaded in the section popup.
Published August 19, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.