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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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
what is descriptive.create()in qtp?
 Question Submitted By :: Sreeprasad
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is descriptive.create()in qtp?
Answer
# 1
To create properties collection and we can create

properties object(MYDescription).once we have filled

properties collection with a set of properties objects

(properties,values) we can specify properties object in

place of an obj name
 
Is This Answer Correct ?    0 Yes 0 No
Sreeprasad
 
  Re: what is descriptive.create()in qtp?
Answer
# 2
This is used when we are working with descriptive programming.
that is not descriptive..

description.create...

it is used to create an object through scripting.

for example..

set objtext = description.create
objtext("nativeclass").value = Edit
objtext("attachedtext").value = "XXXXX"

now objtext is an edit box with name XXXXX

browser("dsagd").page("dsada").webedit(objtext).set "dsahdas"

If any queries....
nanda.dreddy@gmail.com
 
Is This Answer Correct ?    0 Yes 0 No
Nanda
 
 
 
  Re: what is descriptive.create()in qtp?
Answer
# 3
Descriptive programming is to give a description to any obj 
by us.and this can be reused  

Set objEdit=description.Create()
objEdit.Value("nativeText")="Edit"
objEdit.value("AttachedText")="Enter Text"


window("Application1").Dialog("Login").objEdit.set ("Name1")
window("Application").Dialog("Login").Ok.Click

then you can give diffeternt names in the datasheet and 
slow the script to fetch the names from there
 
Is This Answer Correct ?    0 Yes 0 No
Bhuvana
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
does the vb script knowledge is mandatery in testing using QTP  1
How do u fetch data from a database ?  2
can any body tell me all of the release dates of QTP?????..... thanks in adv!  3
Is it possible to run QTP scripts created in IE 6.0 in IE 7.0? TCS4
write vb script code to delete the duplicate values in an array. ADP2
what do u mean by test harnesses in qtp? Verizon1
What type of VB script u had done in expert view? HCL1
HI, Anybody can explain Automation Test Framework...and wht do we do before start of Automation..... Siemens2
What type of problems one will face with QTP , if too many browsers are opened at a time?  2
OPening of notedpad in QTP to write and execute the coding?  2
In QTP whether is it possible to call a function from one action to another action?  1
can any one explain with an example how to test Web application using qtp  2
can somebody send the script to write a multiplication table in notepad through qtp AppLabs2
I AM NEW IN QTP,PLZ TELL ME ANY BOOKS FOR QTP, MY COMPANY IS QTP,SO I LEARN QTP,PLZ ANYBUDY HELP ME AZTEC53
Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displayed Open link,open link in new window,save picture as, Email picture,Printpicture,propeties...etc. While automation I have written a code like this 'browser("Google").Page("ramseeker®: Memory and_3").Image ("graphOfModel").Click 10,10,micRightBtn But the right click menu was not displayed. I want to save that image in a seperate folder  6
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b  2
w is recovery senario manager Infosys3
How to supress warnings from the "Test results page"? BirlaSoft4
can u give one scenario for for PopWindow Exception & write Code for that? Cap-Gemini1
Plz explain about object propeties in object identification? means.. explain about 1. mandatory properties.2. assestive properties 3. ordinal properties. TCS3
 
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