Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

now a days which one is using all companies for qtpscript a)Object Repository based script b)Descriptive program based script c)BOTH

1 Answers  


How to add a page checkpoint to your test?

1 Answers  


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

2 Answers   ADC,


Where you get the run time data table?

0 Answers  


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?

0 Answers  


How to "Turn Off" QTP results after running a Script?

3 Answers   Crea,


Write a script to delete the a specific row (say 3rd) in a webtable.

0 Answers  


how can i replace any text from the qtp script with some anothere text

1 Answers   Livetek,


What is the Difference Between Quick Test Pro and Quick test professional?

5 Answers   Infotech,


what is the diffrence bw qtp architectute and qtp framework?

0 Answers  


How to check the value for variables during run time. Pls anybody can give the answer.. Thanks in advance...

4 Answers   Navis,


How to send QTP scripts to our colleagues?

1 Answers   Virtusa,


Categories