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
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
what type of run time errors you get while you ar edoing rpg program?
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
Diff b/w test scenario's and test Procedures?
Which environments does qtp support?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
Explain the types of object repository?
Explain the concept of object repository & how qtp recognizes objects?
When should I use smart identification?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
How does qtp identify objects in the application?
Define Canvas view of UFT?
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
How do we handle run-time errors?
Step 3&4 are repeated until an the object in recognised uniquely.