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 |
types of output value in details.
write progamming connecting QTP to database sql? this is question asked by interview? please give sql, pl/sql related answer?pls any answer this?
What is the extension of the recovery scenario file in qtp?
How we test the logo or images in the web page using QTP? For example take google page, they change their logo for new year,christmas etc..How we test that? Plz answer this question... Thanks in advance..
What the genaric function to connect Sql Server using Sql Server Authentication and Windows Authentication
Hi, Where should I get all the test's results If I ran the scripts in Batch run. At the result window I found only last test result. Could any one help me on this?
What is the disadvantage of smart identification?
when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '[string: ""]' in "If cdbl(tot)=cdbl(p)*t Then" error. where I am doing the mistake Could you please tell me.
How to change the screen name while running the test.
How to handle Run-time errors?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain