Can u Reduce the size of Object repository? What are the
problems u have faced in Qtp tool?
Answer Posted / amarendra kothuru
Using Descriptive Programming we can reduce the size of
Object Repository. No need to Maintain object Reposity if u
use descriptive Programming Concepts. QTP recognize each
object with some unique Property values. So you no need to
add object to object repository if you use descriptive
programming. Descriptive programming reduces the time of
QTP to recognize the object uniquely. If you use Object
Ropository, first QTP retrieves all objects from it and
verify each property values of the object and it is time
taken process. If the number of objects in Object
Repository are huge, QTP takes so much time to recognize
the object you specified in the Script.
The following Properties can be used to recognize the
objects uniquely by QTP.
Object Name Properties to recognize the object
Browser Name
Page Title
WebEdit Name
WebEelemt InnerText/Html id
WebList Name
WebButton Name
Link Name
WebTable Html id/Name
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is an object repository?
How do you send email with attachment from outlook using qtp ?
How to find operating system information using the qtp script?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
How do you delete unwanted results in qtp?
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
Explain quicktest professional testing process?
what is review
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
Is it possible to change the property value at runtime? How it is possible?
What is a reusable action?
Tell me about your project? please help me how to tell about insurance project
How to add synchronisation points in qtp?