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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
can anyone explain about the Descriptive programming in 
detail. I mean how to use in the script.
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: can anyone explain about the Descriptive programming in detail. I mean how to use in the script.
Answer
# 1
Descriptive Programming comes under Advance QTP .... in 
this we do not require any objects in object repository.... 
with out adding objects in repository we can test the 
application .... the concept DSP

so in DSP we will not add the objects in repository.... 
inside we will take the logical names of the object and 
accesss those... chk one of the example

*============================================*
systemutil.Run("C:\WINNT\NOTEPAD.exe")

Set Open_Pad=Description.Create()
Open_Pad("text").value="Untitled - Notepad"

Set Text_Area=Description.Create()
Text_Area("window id").value="15 "

Set File_Menu=description.Create()
File_Menu("window id").value="262737"

Set File_Menu_Save=description.Create()
File_Menu_Save("window id").value="0"
File_Menu_Save("x").value="681"
File_Menu_Save("y").value="53"
'#32768Menu
Set Save=Description.Create()
Save("text").value="Save As"

Set  Enter_File_Name = Description.Create()
Enter_File_Name("attached text").value="File &name:"
Enter_File_Name("window id").value="1148"

Set Save_Button = description.Create()
SAve_Button("text").value="&Save" 


Set File_Menu_Close=description.Create()
File_Menu_Close("window id").value="0"
File_Menu_Close("x").value="681"
File_Menu_Close("y").value="53"



Window(Open_Pad).WinEditor(Text_Area).type( "This is shyam 
doing the descriptive fro notepad")
Window(Open_Pad).WinMenu(File_Menu_Save).Dialog
(Save).WinEdit(Enter_File_Name).set "demo"
Window(Open_Pad).WinMenu(File_Menu_Save).Dialog
(Save).Winbutton(Save_Button).click
Window(Open_Pad).WinMenu(File_Menu_Close)





*============================================*
 
Is This Answer Correct ?    0 Yes 0 No
Shyam.meghansh
[Hydus Technologies (INIDA) Pvt Ltd]
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
can anybody give me the links for vb script material  1
Browser("Las Vegas Hotels - Las").Page("Vegas Hotels - Hotels").Link("Luxor") ......here Luxor is a hotel and this is recognised as a link. I have many hotels like Luxor, Palms etc which are all displayed as link...How do I parametrize this by using webtable functions??? ASAP HP1
What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements? Infosys1
I have java based application on my computer. Can I install QTP on it? What are system requirements for installing QTP?  3
dar Sir I am Facing th eProblem in QTP thet ,when I start thrcording inthe QTP for the ASP front end and C# the Coding Language I fing that recording is Done well for the Login screen but at the Time Running the script the QTP is Unable to Identify the Objects On the Objec Onht eLigin screen .Please answer the Question in Description and the Propables reason I might be facing alsp the Popable solution I have to Take thanks and ragards  1
How to connect to oracle(sqlserver) database to QTP CTS3
How to connect QTP to Testdirector Polaris4
How can we see the analog recording steps in QTP..the Steps are stored in a track file with an extension .dat..how can we open the file..  1
what is the object properties settings in the QTP DigiTech4
How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions? Motorola1
What is object identification? Wipro2
How you automate test scripts Novartis1
Did u use check points during ur work experience ? FedEx3
how you update scripts in qtp?  1
in QTP,how to write a descriptive program for "yahoo" or "gmail" Login page  1
In QTP, Give the difference of Global sheet and Local sheet in datatable?  1
What is an other way of "Wait" statement in QTP I dont want to use wait("Some number"). Can any one tell this please.......... AZTEC7
How can we close all webbrowsers which are opened in out desctop?  4
Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so.. Correct me if iam wrong some where. Microsoft8
What is Object Spy? Ordain-Solutions5
 
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