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.
0% found this useful