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

suppose there r 10 action in a test i want to execute action 5 to 10 how would i do that

2 Answers  


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

0 Answers  


Hi, Where should I get all the test's results If I ran the scripts in Batch run. At the result window I found only last test result. Could any one help me on this?

3 Answers   Livetek,


I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing

0 Answers  


how to add run-time parameter to a datasheet?

1 Answers   Mphasis, Ordain Solutions,






Explain hybrid framework with advantages and disadvantages?

0 Answers  


Explain the difference between data driven testing and parameterization ?

0 Answers  


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

0 Answers   IBM,


how to create external data table?

1 Answers   TCS,


Given a string variable contain a full name (last name, first name), using vbscripting, how can you extract first and last name and save them into two different variables.

2 Answers   Banking,


what is bultin funtaion in QTP &tell me five examples?

5 Answers   Kanbay,


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

0 Answers  


Categories