Can i run the qtp, without OBJECT REPOSTIRY...

Answers were Sorted based on User's Feedback



Can i run the qtp, without OBJECT REPOSTIRY.....

Answer / lokesh kanithi

Yes,By using descriptive Programming.by defining each
object properties...
But it is not suggested all the times.Instead we have the
facility like object Repo.also QT identfies the objects
using recorded Description & smart identification.

Is This Answer Correct ?    5 Yes 0 No

Can i run the qtp, without OBJECT REPOSTIRY.....

Answer / lokesh kanithi

Hi Srinivasan!
Identification can be done using descriptive programming.
Here is example # 1 with description object.
set EditDesc = Description.Create()
EditDesc("Name").Value = "userName"
EditDesc("Index").Value = "0"
Browser("Welcome: Mercury").Page("Welcome: Mercury").WebEdit
(EditDesc).Set "MyName"
Here is example # 2 with out description object.
Dialog("text:=Login").WinEdit("window id:=3001","attached
text:=Agent.*").Set "john"
Dialog("text:=Login").WinEdit("window id:=2000","attached
text:=Password:").Set "mercury"
Dialog("text:=Login").WinButton("text:=OK").Click
These both method will be used in expert view to identify
object with out object avaialble in object repository.

Is This Answer Correct ?    4 Yes 0 No

Can i run the qtp, without OBJECT REPOSTIRY.....

Answer / jignesh

Yes, you can run QTP script with object repository by using
descriptive programming. But it is advisable when your
object logical name or properties change frequently,
otherwise not.

Is This Answer Correct ?    2 Yes 0 No

Can i run the qtp, without OBJECT REPOSTIRY.....

Answer / srinivasan

Thanks Mr.Lokesh

Is This Answer Correct ?    1 Yes 0 No

Can i run the qtp, without OBJECT REPOSTIRY.....

Answer / pavankumar

hi guys i think u people have not correctly understood
descriptive programming concept. please note descriptive
programming is written without any any object in object
repository. It is normally written even before the
application is ready. that is why descriptive programming is
the best.

Is This Answer Correct ?    1 Yes 0 No

Can i run the qtp, without OBJECT REPOSTIRY.....

Answer / rohit

Descriptive programming is an advanced concept in QTP.We can
handle the application without using object repository.It
can be implimented by using object syp when the application
is available.And It can also be implemented with out
application in hand based on the properties of the object(
which can be done by experts).The main purpose of using DP
is it increases the performance of the tool.Easy to
maintain.Very flexible in objectsvimplementing and we can
modify the script easily when compare to QTP script/code.

Is This Answer Correct ?    1 Yes 0 No

Can i run the qtp, without OBJECT REPOSTIRY.....

Answer / srinivasan

Mr.lokesh can you please send few example of Descriptive
programm details of qtp without object Repositry...!

Is This Answer Correct ?    1 Yes 1 No

Can i run the qtp, without OBJECT REPOSTIRY.....

Answer / sudheer

I won't prefer Keyword Approch, please check below points.

?The Keyword driven approach was difficult to understand
for any new person who is introduced to QTP.
?The approach did not utilize QTP resources effectively,
like we were not referring to the actual names of the
object in the script but in the datatable. This meant if we
changed an object name in the repository we had to change
it in the datatable as well, which otherwise is not
required.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

0 Answers  


What are the enhancements u did after recording ur script?

1 Answers  


what is the framework followed by ur company in qtp

5 Answers  


what is flag=0 in qtp tool.. i am strugglin to use flag function , exactly when it is used , any real time expert pls explain clearly?

1 Answers  


There is an excel file of 1 to 100 sheets how you will iterate through it?

0 Answers  






What kind of errors can b handled in QTP in real time scenario?

1 Answers  


I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)

1 Answers  


What is output value?

3 Answers  


How to Analyze the Checpoint results by Table and DB Checkpoints?

1 Answers  


How can i get QTP 9.2 software or any webside where i can download ? can anyone help me out , i want to be expert in QTP ,but i don't have the software

3 Answers  


I Selected for TCS-Chennai(Contract to hire) position plz suggest me whether i have to join or not

2 Answers   TCS,


What is the Test Object model in QTP?

3 Answers  


Categories