how to save a .pdf file in a browser window in qtp - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: how to save a .pdf file in a browser window in qtp (/Thread-how-to-save-a-pdf-file-in-a-browser-window-in-qtp) Pages:
1
2
|
RE: how to save a .pdf file in a browser window in qtp - Ankesh - 09-13-2012 Looks like it is an HTML file. Please try changing the file format or extension to .htm. RE: how to save a .pdf file in a browser window in qtp - freeboynil - 09-13-2012 reg "Failed to Create The Virtual Object Definition" error means.... QTP is not able to create the virtual object. try to use correct X,Y coordinates. try multiple times I encountered this issue some times. RE: how to save a .pdf file in a browser window in qtp - Ankesh - 09-14-2012 you could also try the option File -> Save As. See if this helps. Regards, Ankesh RE: how to save a .pdf file in a browser window in qtp - ssvali - 09-14-2012 Thank Guys for ur replies @ Ankesh -- I tried that option "file -> Save As" but no luck @ freeboynil -- I tried multiple times but no luck at all. It will helpful if u paste ur code or steps u performed to resolve the issue. Thanks in advance RE: how to save a .pdf file in a browser window in qtp - ssvali - 09-24-2012 Issue Resolved by using Sendkeys but not CTRL+S. As CTRL+S is not working. Below is the solution. First add the object where pages is displayed to OR. It is WinEdit Focus the cursor on that Send Shift+Tab twice, The cursor will focus on save button Send ENTER button Thank u very much for ur help. Regards, ssvali RE: how to save a .pdf file in a browser window in qtp - Ankesh - 09-24-2012 Glad to hear that. It is always better to chk all the options whatever hits ur mind. It may sound stupid, bt most of the times stupid thought does the job. Regards, Ankesh |