What is the use of "Define new test object" in QTP 9.1
When should we use? Explain?

Answer Posted / nanda

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 ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

1564


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1581


QTP script is not working on other's machine..

1531


Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

605


How do we analyze the checkpoint results?

577






what kind of frame work you used in your last project?

1811


How many scripts did you have?

1693


how to create flat file datasubmission in qtp

1898


Tell some commonly used Excel VBA functions?

593


What is contained in the object repository?

613


when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

1727


How many types of recording facility are available in quicktest professional?

562


What is a recovery scenario?

567


Explain the concept of object repository and how QTP recognizes objects?

546


What are the general steps involved in the data driven framework?

550