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

Hi friend I have query regarding QTP datatable. I want to insert data in datatable during runtime. suppose i wrote datatble.value(1) = "Test data" so when i run the script it says column(1) doesn't exist. Then i write something in column A1 manualy and run the script again. Now it works fine. Pls clarify how i can put value in blank cell of datatable.

10 Answers   Apex,


Once we get the Test Result from QTP.,I Have to convert into Excel file format..Is it possible..Can any gudie me regarding this... For Example : Total Test Case is : XXXXX Test Case passed : XXX Test Case Failed : XXX -------- Total XXXXXX ---------

6 Answers  


I am in need of some set of QTP FAQ @ interview. Also recently in one of interview portal they asked me how you write the script for Login application which it is web -based and using Descriptive Programming? Without associating the shared object repository?Please i do need this answer very soon? Please respond me soon @ vaisu72@yahoo.com

2 Answers  


What are the versions of qtp,What are the differences b/n them?

1 Answers   TCS,


I have a drop down box to show selected number of records in result page.It contains 4 items like 10, 25,50 and 100. when i was recordes script for seelcting each item and checking selecting number of records in the result page( it is in the same page in the table format)it is generating a new page with same controls( objects) in the OR. how to avaid these in OR? is it possible to write DP for only these lines?, remaining(remaingin lines of code) objects i want use from OR only. One more problemis if change ( add /remove properties of an OBJECT in OR , my ( recorded )application is not running.

5 Answers   Virtusa,






Shall we add Local Repository to shared object repository,if yes,how we add

4 Answers  


If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened. What would be Descriptive programming for this in QTP using VB Script..??? Please send your answers.

6 Answers  


Create an Excel file and pass the values from Flat File? (for ex:data1.txt,data2.txt )

2 Answers   FIS,


How to invoke Mozilla from QTP thru VB Script

2 Answers  


In Test Director , You can store Test cases or vb Script . Why we need VSS?

2 Answers  


Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

0 Answers   AppLabs,


how to select the work for complete automation and one more thing when u are going to choose automation

3 Answers   Fidelity,


Categories