Forum Discussion
karthick7
9 years agoContributor
Use Below
Sys.Keys("^s") NOTE:Pdf PreviewWindow is infocus
By Pressing the Key,we can get save as popup window
so we can save it.
Regards,
Karthick Raj P
tristaanogre
9 years agoEsteemed Contributor
The problem with just using Sys.Keys() is that it depends upon the RIGHT window being in focus.
Map your preview window or otherwise access it and send the Keys method to that window...
...this is assuming that the application opens up your PDF in a standard PDF preview window and it's not embedded in some other frame or something. If the PDF is displayed in some other frame, you might need to use some other method to do the save. That is dependent upon the application implementation. Without knowing more about your AUT, we can't give specific answers.