Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP - windows 'File Save' Dialog not visible
#1
Not Solved
Hi all,

On recording a particular Web application with QTP,Have came across a problem for which I havent found a solution so far..


The script of importance is as follows:

Code:
Browser("Personalized Start Page").Page("XYZ").Frame("mainFrame_4").Link("address.csv").Click
Browser("Personalized Start Page").Page("XYZ").Sync
Dialog("0% of dms.php from XYZ-").Dialog("File Download").WinButton("Save").Click

My problem is that on recording the application with QTP and clicking the "address.csv" link another browser window comes up temporarily followed by the Windows "FileSave" dialog.The browser window which came up closes down when the Windows "FileSave" dialog is visible and I save the file to a windows location.

On the "Record and Run" settings under Qtp,have activated settings for web and windows applications.



But when I run this recorded script,and after the "address.csv" click,The browser window comes up and goes down,No Windows "FileSave" dialog comes up and the QTP shows the error Dialog("0% of dms.php from XYZ-") object is not found,though this object is there in the repository.

Have tried putting the Dialog("0% of dms.php from XYZ-").Exist property.But the "Exist" property is not recognised by the dialog at all.

Any help in this direction is appreciated..

Thanks in advance
J
Reply


Messages In This Thread
QTP - windows 'File Save' Dialog not visible - by jennifer - 03-14-2009, 09:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Exist and Visible Are True When Objects Aren't There - Is there A Better Way? zunebuggy 3 3,132 04-24-2018, 02:12 PM
Last Post: Ankur
  [UFT] [WPF] DataGrid: check if vertical and horizontal scrollbars are visible robertosalemi 0 2,410 07-13-2016, 06:33 PM
Last Post: robertosalemi
  Extract and save a file from zip folder using VB Script karthicksri07 1 6,426 06-29-2016, 02:19 PM
Last Post: Ankesh
  Intermitent "Object not visible" error erodpr 5 3,504 01-14-2016, 10:55 AM
Last Post: vinod123
Shy 5 Save button QTP Qtpnew 1 2,376 09-03-2015, 09:52 AM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 2 Guest(s)