I recorded a script with QTP 9.0 to print a PDF document from a website, and while I was recording the printer did print a page but when i ran the test, the page is not printed, even though every thing runs smoothly. Any suggestions? or did anyone else ran into this problem as well?
Ali, May be you could wait till the Browser opens up with the PDF.
Wait 8 '// Waits for the Browser to Load with PDF
Browser("Browser_3").WinToolbar("ToolbarWindow32") .Press "&File"
Browser("Browser_3").WinMenu("ContextMenu").Select "Print... Ctrl+P"