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



Hi all, On recording a particular Web application with QTP,Have came across a problem for which..

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

Post New Answer

More QTP Interview Questions

How to import the Test Results in QTP to an Excel sheet

4 Answers   Sonata,


I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

0 Answers  


what is virtual object?

2 Answers  


Explain QTP using different development techniques ?

0 Answers  


Write VB script to test given number is Prime Number

5 Answers   Oracle,






what is spy, and how can u use?

1 Answers  


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

0 Answers   TCS,


How to Creating an Output Value using QTP?

1 Answers  


In QTP whether is it possible to call a function from one action to another action?

1 Answers  


What is the best institute in Ameerpet? If people think Ameerpet is the pride of hyd they need to go to Delhi/Gurgaon/noida you can find the difference.

3 Answers  


How many types of actions are there in quicktest professional (qtp)?

0 Answers  


Where we can use the analog mode and where we can use the low – level mode?

0 Answers  


Categories