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   SiteMap shows list of All Categories in this site.
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
I want different types of discriptive programming statments 
coded for different types of web-objects?Give syntax and 
example?
 Question Submitted By :: Anil
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I want different types of discriptive programming statments coded for different types of web-objects?Give syntax and example?
Answer
# 1
We can do 2types.
i)By creating properites through Description.create
ii) By passing properties through string arguments

i) Dim obj_desc
   set obj_desc= Description.create()
    obj_desc("class").value="webedit"
    obj_desc("name").value="userid"
    obj_desc("html tag").value= "input"
    obj_desc("visible").value="True"
 Browser("browser").Page("page").Webedit
("userid").set "srikanth"

ii) Browser("name:=Welcome to Gmail").Page("name:=Welcome 
to Gmail").WebEdit("attachedText:=Userid").set "srikanth"
 
Is This Answer Correct ?    0 Yes 0 No
Srikanth
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
how many types of actions r there? what r they? explain? pls give any one answer? IBM2
How many types of OBJECTS are there in QTP? Inter-Globe-Technologies2
i want 8.2 and 9.2 dacuments plhelp any body sand it to my id sandhyat1@yahoo.co.in Siloka3
What is batch testing?  2
which command u will use to access the application through descriptive programing? Datamatics5
what is Action conversion tool? what the Action conversion tool will do? Satyam1
Explain script generated at the time of setting runtime property?  1
what is qtp automation frame work,what is the use of that frame work? iGate34
anyone can explain Diff B/w Actions and Functions  2
hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, recovery scenarioe manager etc. but actually i don't know how all these we wil implement while we r writting code manually. when we r doing practice, while recording code is automatically generated but in real time i heard that we have to write the script.But i don't know how it is? How to write descriptive prog.? plz. tel me what r the basic things we have to know? explain how to write descriptive prog.? explain me with an example pls....... Vertex2
What are Add-ins availble in licensed version QTP8.2 TCS1
pls tell me how will you write the vb script in QTP for DataDriven test from Excel sheet for multiple userid and password explain with example Ordain-Solutions4
what is the difference between window command and dialog command  1
what is the Command used to start the QTp from Run.  6
In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.  1
Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the pettern.  4
Is the provision for integrating QTP with QC ,available from the version 9.0 onwards only or even 8.2 version has such provisions?  1
What is Automation frame work.How we will prepare in real time. AppLabs8
what are inputs for automation?  1
In website, protocol has been changed http:to https what you will do? tell me your approach?  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