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
What is the use of "Define new test object" in QTP 9.1
When should we use? Explain?
 Question Submitted By :: Rayudu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?
Answer
# 1
By using 'Define new test object' we can create a new test 
object in object repository, even the application is not 
available.
 
Is This Answer Correct ?    0 Yes 0 No
Nanda
 
  Re: What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?
Answer
# 2
You are exactly right...But
What is the use of Creating new test object, if it not work 
on the application.what will we do with it.How to use on 
the application????
Please tell me with one example
 
Is This Answer Correct ?    0 Yes 0 No
Rayudu
 
 
 
  Re: What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?
Answer
# 3
yeah good question...

   in some situations we have to prepare the scripts before 
the application is delivered for testing. at that time you 
can not capture the objects from application, right? so, 
what you can do is you can create the test objects manually 
based on the test case says, and can prepare the scripts. 
once the application is ready we will debug the script to 
check whether QTP is identifying the objects with the user 
defined test object description. if not identifying u can 
change the properties of those objects.

   and another situation, when you are capturing some 
objects to Object Repository some of the objects may be 
invisible. they will come to visible only in some 
situations. so, you will create one user defined test 
object even that object is invisible. 

    may be this can answer your question, if not please 
reply me again. i can add some more description.
 
Is This Answer Correct ?    0 Yes 0 No
Nanda
 
  Re: What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?
Answer
# 4
Thank you nanda...
U r right.. 
Second one is Okay..
But one thing I have not understood is that, after writting 
the code, should we add properties to the repository?
I knew two ways to write script.
1. Add objects to the repository and use them in script.
2. Assigning the property values to the properties 
directly, without using OR (Discriptive programming)
But here not using either OR or object property values in 
the script
How the QTP identfies the objects of an application.
suppose I have written like this.(if it is web based)

Browser("Rayudu").Page("ray").link("livetek").click

Once application ready how can I run this on the 
application.

ok
should we use settoproperty???
 
Is This Answer Correct ?    0 Yes 0 No
Rayudu
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.  1
HI, Anybody can explain Automation Test Framework...and wht do we do before start of Automation..... Siemens2
Can anybody give the script to addsheet, add column,add values under that column in the rows?  2
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
what are the disadvantages of descriptiveprograming GE4
Diff B/w Webserver and Client Server  2
anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example  2
whai is meant by automation testing?  2
What is the difference between QTP 8.2 and QTP 9.2 ? Infotech4
what is object? iFlex4
Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?  2
Where virtual objects stores results?  4
Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the pettern.  4
How can we merge two repositories? Can we merge two differnt rep. I mean 1is peraction and other shared Tavant-Technologies3
Where we write the FUNCTIONS, in Expert view (or) in any textfiles like Notepad and save it in Library functions folder? How to cal that functions to our script? How to save that functions to Function generator?  3
How to test a web application using QTP?there is no any .exe file in web app,then how we can take the application for testing  1
what is the difference between image and bitmap check point  3
Hi, I have weblist which contains the data like Design change,admin edit and cost saving etc.. User doesn't know the values existed in weblist. Now the user has to select the right value from the list otherwise the test will fail. Pls help me "To select the correct value from the list"  1
Could any one explain about the nested actions in QTP? This question is asked by Qualitree and CA CA3
Which object model is not supported by QTP? a)COM b)DECOM c)DOM d)DCOM. Pls explain about theese object models?  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