ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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
 Question Submitted By :: Jennifer_2008
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
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
Jennifer_2008
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is the difference between CVS and VSS? Are you store QTP SCRIPT In VSS OR CVS? Where you store QTP Script? Ordain-Solutions1
Tell me Three major differences between QTP & Winrunner?  2
HO DO U CALL A ACTION? BirlaSoft2
from where we will retrieve data for data driven tests in qtp?  3
Hi guys, can anyone explain me whats the method for reporting the QTP test results to teamlead or non-QA member (developer/PM)? Thanks in Advance!!!!!  2
difference between multiple parameterization and data driven wizard in QTP?  1
what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?  1
How to call .vbs funtion , Library files in QTP? plz Explain indetail(chandana) Wipro4
where the check points are stored ?  2
give one example where you have used regular expression? Ordain-Solutions6
I am not able to record yahoomail browser.its giving error like "The browser Application can't be launched .Posssibly the URL is wrong" So anyone can tell me what setting i have to do in qtp??  1
how to load all resource files(function libraries,object repositories etc) into tests without associating them?  1
Give some brief idea about a) Active x check b) Alt property check c) Applet object check d) Frame object check e) Multimedia links check f) Server side image check g) Table object check CTS1
I installed QTP 9.5 on vista. Can someone please provide me the license key of the same. Thanks, Avi  2
Do we have to Enable Smart Identification while running Or will it automatically be enabled ?  2
Tell me few important difference Between QTP and WinRunner? Syntel2
How to pass parameters into an action.Please explain me with examples  4
how to retrieve the column headers in database using vbscript statement in QTP  1
pls help me with scripting,right from the beginning in QTP  1
Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com