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 |
now a days which one is using all companies for qtpscript a)Object Repository based script b)Descriptive program based script c)BOTH
How to add a page checkpoint to your test?
How do you export an output to a excel sheet? Ex: I get my answer by using Msgbox"..." &R. How do I displayed the result of the Msgbox (such as R) to an excel sheet? Please let me know.Thanks
Where you get the run time data table?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
How to "Turn Off" QTP results after running a Script?
Write a script to delete the a specific row (say 3rd) in a webtable.
how can i replace any text from the qtp script with some anothere text
What is the Difference Between Quick Test Pro and Quick test professional?
what is the diffrence bw qtp architectute and qtp framework?
How to check the value for variables during run time. Pls anybody can give the answer.. Thanks in advance...
How to send QTP scripts to our colleagues?