Quality Testing

Quality is delighting customers

Hi All,

I am facing an issue in selenium , for selecting browser specific popup's for downloading a doc/pdf from application not able to save it automatically. Can any one suggest a solution for this issue.

Thanks

Bala

Views: 115

Reply to This

Replies to This Discussion

use AutoIT

I faced the same problem in QTP to save the doc/pdf.  I use the the keystroke elements in QTP to resolve the issue.

Set WshShell=CreateObject("WScript.Shell")

WshShell.type "C:\Document\test.doc"  '--when the pop up will come to save the doc the focus will in the text box to give the file name

WshShell.sendkeys "{ENTER"} '--it will press the enter key of your keyboard.

now it is up to you if you want to use it with keyboard stroke or not...

Thx

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2019   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service