Print preview displays 'Loading label text' on top of document
Print preview displays 'Loading label text' on top of the document.
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
The window.print() method is triggered even before the complete content is loaded from the section. Hence, it displays as 'loading'.
ResolutionPerform 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
Was this useful?
0% found this useful
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.