Can i run the qtp, without OBJECT REPOSTIRY...
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
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 |
what are the principles of good testing scripts for automation?
What are the main features we have to compulsory test by using qtp in an web based application
we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position
what about f2&f6 function keys
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
i am giving.multiple names like ram,raj,san etc....pls enter & search these names in google pade edit box through script... i told to interviewer, using Ms excel & test easily..but interviwer not happy with that answer?
why was automation used in the project?
What does it mean when a check point is in red color? What do you do?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
What is the difference in between function and sub as well as give some code of both
what is automation(qtp)bug pls giv me one ex?
Explain data driven framework?