On 4/22/2011 10:28 AM, Shanmukha Bollapragada wrote:
Once again:I have a qtp script which will click on 2 links (www link and ftp link) and check for file download dialog box. If it does show the pop up then my script works fine. However, sometime if this link is pointing to some file like abcd.xml then when i click on it it just opens that in the browser, it doesn't show the file download dialog box. How to change the settings of the IE so that when i click on any link it MUST show the file download dialog box.

Sorry didn't mention that I have already tried "Right Click -> Save As" option. But this will not work for me because the save as is greyed out

Attached is the screenshot. I have also pasted a screenshot below

The links that I am trying to verify are www and ftp

www - http://downloadxxxx.xxx.xxx.xxx.com/download/1234567/filename.a.b.c.d

ftp - ftp://ftpxxxxx.xxxx.xxxx.xxxx.com/1234567/filename.a.b.c.d

when you hover your mouse over www and ftp link you will see something like this javascript:helpOpen('http://downloadxxxx.xxx.xxx.xxx.com/download/1234567/filename.a.b.c.d') - www javascript:helpOpen('ftp://ftpxxxxx.xxxx.xxxx.xxxx.com/1234567/filename.a.b.c.d') - ftp

HTML source is <a href="javascript:helpOpen('ftp://ftpxxxxx.xxxx.xxxx.xxxx.com/1234567/filename.a.b.c.d')">ftp</a> HTML source is <a href="javascript:helpOpen('ftp://ftpxxxxx.xxxx.xxxx.xxxx.com/1234567/filename.a.b.c.d')">www</a>




On 4/22/2011 12:10 AM, Serene Tan wrote:
can you attach screenshots

------------------------------------------------------------------------
Date: Thu, 21 Apr 2011 16:22:24 -0400
From: [email protected]
To: [email protected]
Subject: Force file download dialog box in IE

Hi Guys,

I have a qtp script which will click on a link and check for file download dialog box. If it does show the pop up then my script works fine. However, sometime if this link is pointing to some file like abcd.xml then when i click on it it just opens that in the browser, it doesn't show the file download dialog box. How to change the settings of the IE so that when i click on any link it MUST show the file download dialog box.

Thank you
Shan


--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en --
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

<<image/png>>

Reply via email to