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

Answers were Sorted based on User's Feedback



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

Answer / nanda

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

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

Answer / 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

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

Answer / rayudu

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

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

Answer / rayudu

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

Post New Answer

More QTP Interview Questions

What is the Diff between Image check-point and Bit map Check point?

15 Answers   CTS,


What is the use of Debug Viewer?

0 Answers  


I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail. Could you please any assist in this?

2 Answers  


Have you faced any problems with object repository?

0 Answers  


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 Answers  






How software tester can use constants and variables in scripts?

0 Answers  


request to add whatsapp grp for test engineer

1 Answers  


Why a framework is needed?? Plaese post your answers ASAP

3 Answers   ACC, FD, Mphasis,


What is the main disadvantage of using low level and Analog modes?

2 Answers  


how are environment variables used in real time projects (testing)?what answer should be given about this in interview.need real time explanation breifly?thnx in advance.

2 Answers  


Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5

2 Answers  


I want to check in the data table(Globalsheet) column exist or not through script .If column not exist only proceeded to next step Pls tell me how to proceeded?

5 Answers   Syntel,


Categories