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 / 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 |
what is advantage of descripting programming in QTP?
In real time whenever we found bug , after that where you send to that bug. send to T.Lead or Directly Developer. Plz explain me?
give me an example where u used good judgement and logic in solving a problem
How cookies can be tested in QTP?
explian about the qtp frame work? where u can use it in your project?
Explain the Different types of QTP test assets and their extensions?
How to Display last item of a Combobox by using QTP?
what are the different types of framesworks in QTP?what is the keyword driven framework?
I had created the new virtual objects for web application buttons. how to add those virtual objects into object repository. Previously i had used Gui map in winrunner for capturing virtual objects for web application. Please help me regarding this. need your answer quickly
Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with out scenario
What the differences are and best practical application of Object Repository?
Can we do server automation by QTP? If you have any helpful links ,pls post it. Thanks Uma