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 |
Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5
Hi Friends, I have an application that is having some options to choose. While doing business transaction I need to select one option among from available options. But here the thing is, we won't get one option which we've chosen already and the available options will get automatically from the system with time basis, moreover each and every option having with various label names respective to that option. So obviously if I run my recorded script will automatically gets fail, even though it got pass at first time. Could anyone please give me appropriate solution for this. I would be greatly obliged with you if you give the solution as soon as possible.
how qtp identify two objects having same name, supose objects are in same page also with same name,specify spl feature.
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
.how will you load the object during runtime
i am testing an online shopping application.I CLICK on a link "ADD TO CART" of that application a "new page" is open and then click on any object of that "new page". after that when i run this SCRIPT then on this "new page" QTP always shows error of "OBJECT NOT FOUND". How i solve this problem ?
How can you send user defined messages to test report?
suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test each window? i.e. how qtp indetifies these objects separately?
What is the difference between Image Checkpoint and Bitmap Checkpoint?
Syntact for how to call one script from another? and Syntax to call one "Action" in another?
At a time how many users can access QTP?
With help of object repository,we can able to write the descriptive program manually?