Posts: 3
Threads: 1
Joined: Oct 2010
Reputation:
0
10-05-2010, 12:42 AM
Hi guys,
I need help how to save PDF file using QTP.
In my application user generate PDF (script is ready); when PDF is open I need just save PDF on any drive. I try to record and play back, but don’t work for me.
Regards,
Gene.
Posts: 10
Threads: 0
Joined: Oct 2010
Reputation:
0
10-05-2010, 12:36 PM
what was the problem you were facing when u tried to save the PDF file?
I think u need to use Descriptive programming.
Posts: 3
Threads: 1
Joined: Oct 2010
Reputation:
0
10-05-2010, 09:22 PM
(This post was last modified: 10-05-2010, 09:24 PM by karpatylvov.)
Thanks for reply.
The problem is that QTP were not able to see save button or file - save as option to save PDF.
I am beginner in QTP so for me Descriptive programming is WOW!
Could you please help me with that? I need any options (save button or file - save as) just to save PDF.
Regards,
Gene.
Posts: 3
Threads: 1
Joined: Oct 2010
Reputation:
0
10-06-2010, 10:37 PM
(This post was last modified: 10-06-2010, 10:37 PM by karpatylvov.)
Thank you very much for code.
You are correct, I have a problem with window name object identification.
Below you can see PDF URL:
lifetimewealthanalyzer.com/lwp_pa/write/LWP_PA_109399_Current.pdf
Number 109399 is unique and always change. What should I do?