Which object repository we use in real time and can we
merge 2 object repostiory and how?
Answers were Sorted based on User's Feedback
Answer / sudeepthz
We can Merge two object repository into one O.R. By using
the merge tool in the QTP 9.2..
Resources--> Object Repository Manager --> in that Tools
Menue--> Object Repository Merge Tool--> we can add primary
file and the secondary file---> select the path of the
repository files and click ok.
Now both the repository got merged and we can save this file
with the extension.tsr. and save the OR..
This How we will Merge two OR.
Note: But at a time we can merger two files only, not more
than that..
if you have any doubts shoot a mail: sudeepth.z@gmail.com
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / nagarathna
Merge is possible in QTP 9.0 version also in the method
that is mentioned in the above answer
| Is This Answer Correct ? | 1 Yes | 0 No |
hi guys..
we can merge two repositories..but it is suggestible.
If u need two or more repositories for a test..u can
associate them by using associate repositories( If u r using
9.0 or above version) tool.
If u want add it during run time..
rpositoriescollection.add "<repository file path>"
if any queries..
nanda.dreddy@gmail.com
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / debashish_samanta
There are usually two types of object repository
1.Shared Mode (.Tsr)
2.Per-Action. (.Mtr)
We usually use 1.Shared Mode (.Tsr)object repository.
We can merge two object repository.If you go to
QTP-->Test-->Settings-->Resourses
You can use the Resources tab of the Test Settings dialog
box to associate specific files with your test, such as
VBScript library files and Data Table files, and to specify
the object repository mode and file to use for your test
| Is This Answer Correct ? | 2 Yes | 5 No |
Answer / deepti palagiri
as said there r 2 types of object repository i.e.
1) per action
2) shared mode
by default its per action but in real time we use shared mode.
yaa we can merge two obj rep by an option " merge object
repositories in Quick Test Plus.
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / abhesheke
we usually use 1.Shared Mode (.Tsr)object repository.
we cant merge two O.R
As far as i am concern u cant merge two O.R in a single
project i am speaking about shared object Rep(.tsr)
when speaking about per-action(.msr) this is possible
because for every action u perform a separate O.R is created
but u cant merge two files
any queries abhesheke@yahoo.com
| Is This Answer Correct ? | 0 Yes | 5 No |
I have 5 save buttons in my application on 5 different tabs one after the another . I have spy them and added each of them in my OR. My Or is able to highlight each button on each of the 5 tabs. But when I run the script it does not click the object.Is there anything I have to edit in OR. Any property to add or delete? Below are the properties of 5 save buttons. My code for each is like browser().page().savebutton1.click Browser().page.savebutton2.click Properties of 5 buttons Dhopare, Namita Sent: September 2, 2015 2:57 PM To: Vullengala, Jagadeeshchandra "Class Name:=WebButton", "abs_x:=718", "abs_y:=693", "class:=Button", "disabled:=0", "height:=22", "html id:=btnSaveTab1", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=41", "x:=718", "y:=616" "Class Name:=WebButton", "abs_x:=687", "abs_y:=571", "class:=Button", "disabled:=0", "height:=22", "html id:=btnSave", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=40", "x:=687", "y:=494" "Class Name:=WebButton", "abs_x:=635", "abs_y:=478", "class:=Button", "disabled:=0", "height:=23", "html id:=", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a3').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=41", "x:=635", "y:=401" "Class Name:=WebButton", "abs_x:=695", "abs_y:=558", "class:=Button", "disabled:=0", "height:=22", "html id:=BtnExternalPartySve", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input id=""BtnExternalPartySve"" class=""Button"" onclick=""document.getElementById('a4').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=41", "x:=695", "y:=481" "Class Name:=WebButton", "abs_x:=672", "abs_y:=642", "class:=Button", "disabled:=0", "height:=22", "html id:=", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=40", "x:=672", "y:=565" Previous Item Next Item Connected to Microsoft Exchange
Hi All, I am 4 yrs experieced in manual testing and new to automation tool QTP. Iam trying to learn it thru online and material i have.I am able to understand but unable to trace out which method or function to be used where necessary in VB Script. How come we know the functions or methods to be used to open a window when clicking on button or so...Pls suggest me.How can i proceed further to apt VB Script.
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
Object Repositories types, which & when to use?
How will you load few objects in Active Screen?
Explain how to use QTP to check broken links on a page?
Tell some commonly used Excel VBA functions?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
Hi all, Recently i faced this question in infosys What is QTP architecture?? Is Architecuture and Framework are same?? Can someone please give clear understanding of this.
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
How you can decide which type of object repository you have to use?
can any one tell me what is process metrics and what is product metrics if possible give me example. Thank You