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:
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
Answer Posted / jennifer_2008
Hi all,
Eventually the dialog was visible when I added additional
properties to the dialog like title,Name etc...
Thanks
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are table and db checkpoints?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
what are the challenges you have faced while testing web based application using the automation tools ?
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
what is ODC and GDC?
What is use of object spy?
How you can decide which type of object repository you have to use?
HOw to add the recovery file at runtime to the test file .
How can I change object description or check point values in qtp?
Describe the differences between functions and actions in UFT?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
how can we preform retesting(DATA driven test) using function please gine the code for loginpage