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 any body can tell me the in detaled information about 
Description.Create() thanks in advance
 Question Submitted By :: Narendrach
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hi any body can tell me the in detaled information about Description.Create() thanks in advance
Answer
# 1
description .create() is used for descriptive programming
without adding the objects in the Obj repository we'll use 
this. for example to create a button object use the 
following code

set b1=description.create
b1("Class Name").value="webButton"
b1("attached text").value="OK"
 
Is This Answer Correct ?    0 Yes 0 No
Chandu
 
  Re: Hi any body can tell me the in detaled information about Description.Create() thanks in advance
Answer
# 2
Description.Create() is indicated the Descriptive 
programming starting syntax. it is used for when 
objectrepository is not available and when client ask 
spcifically then tester go for descriptive programming.


the following code is example for login page descriptive 
programming

Set br= descrition.Create
br("applicationversion").value = "internetexplorer 6"
set pg= description.create
pg("page name").value = "Login"
set weu=description.create
we("text").value = "username"
set wep =description.create
wep("text").value = "password"
set wb=description.create
wb("name").value = "OK"
login page script
systemutil.run "serverpath","",".exepath".open
browser(br).navigate "url"
browser(br).page(pg).webedit(weu).set "chaitu"
browser(br).page(pg).webedit(wep).set "merrcury"
browser(br).page(pg).webbutton(wb).click
 
Is This Answer Correct ?    0 Yes 1 No
Kumar .c
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data  2
Tell me Three major differences between QTP & Winrunner?  2
What is keyword driven Testing Framework. Anybody can explain it in details... Pls anybody can give the answer.. Thanks in advance... Navis1
what skills needed to be good test automation?  1
How to create Userdefined Function.Please write the steps ans also provide example where exatcly we use it. HP1
What is the concept of hooking in QTP?  1
Suppose there are 10 browsers opened on desktop. I want to close all browsers except one browser in QTP. Can any one give the code for this? IBM3
How to call actions in QTP? Wipro1
why we use environment variables  4
wat are views in qtp explain IGT2
how to capture objects of remote deskop as it is capturing only window. Wipro1
Hi, My problem is as follows. I recorded a script that created Object repository of each action i recorded. But later I added one more step (which was to enter data in a textfield) into the script through expert view. But as no repository for this newly added step exists in the test, my script fails. So please help me to sort this problem that how can I create object repository of a new step in an existing test. Thanks everyone  1
What are the file extensions for per-action, shared object repository files and what is the extension for library files? Semantic-Space5
What is the difference between QTP 8.2 object repository and QTP 9.2 object repository Any body have an please give Answer Mail id: nagireddy.sn@gmail.com IBM5
Hi guys i'm prepareing for interview question for qtp i don't have bayground for vb scipt language can any one tell me it is easy to do job in qtp without bayground.  3
1. Can anyone help me with recovery scenarios, each type with examples and also what is on error resume next?  1
HOW TO DO THE BATCH TESTING USING QTP? CTS6
In my application there is a billing thru credit card. how to validate the credit card details(min balance,credit card no,card holder name).if these details are valid then only that booking will be done.how to validate these details thru automation or manual?  1
What are the Latest Feature are added In QTP 9.2? Infotech2
Hi, Can any body please tell me how to create framework in qtp & where i can get some material to learn about it. regards, rahulT  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