What is the extension of script and object repositary files?
Answers were Sorted based on User's Feedback
Answer / ravindranadth
This is the first time posting the answer. there are 6
extns are there in QTP.
Batch test:.mtb(Mercury test batch)
Peraction Repository: .mtr(mercury test repository)
Shared repository: .tsr(test shared repository)
script: .mts(mercury test script)
functions : .vbs
Recovery scenario :.qrs(Quick Recovery scenario)
|Is This Answer Correct ?||6 Yes||1 No|
Answer / basha
The extension for :
SCRIPT file : .mts
OBJECT REPOSITORY (shared) : .tsr
OBJECT REPOSITORY (per action) : .mtr
|Is This Answer Correct ?||6 Yes||2 No|
Answer / sharath
The extension for Script file is .mts
and the extention of the repository file is .tsr
|Is This Answer Correct ?||3 Yes||0 No|
Answer / me :)
Hi poonam can you check whether tsr is for shared and mtr
is for per test??
OR both mtr and tsr can be shared across??? ;)
|Is This Answer Correct ?||1 Yes||0 No|
Answer / sanjeev
extention of script file is .mts(Mercury Test script)
extention of object repository file is .bdb(Borkely
|Is This Answer Correct ?||3 Yes||2 No|
Answer / ravipati srini
Can anybody tell what are the extension of the below:
|Is This Answer Correct ?||0 Yes||1 No|
Answer / poonam
Extension for test script:->
* The extension of Test Script File : .mts
Extension for test repository:->
* The extension of test repository(per test): .tsr
* The extension of tesr repository(shared): .mtr
|Is This Answer Correct ?||1 Yes||7 No|
four browser are open same application i want to enter 3browser how?
3. Anyone pls tell me as many points as possible for this question? what r the things to take into consideration before automating an application like; a). Identify whether the tool supports the appln or not. b). When there is lot of retesting and regression testing. c). ROI. d). When there is a need for running same script for multiple datas, etc. e). ---- f). --------- Pls give me more points.
Anybody wants to learn QTP with realtime implementations and complete framework desiging plz contact to this mail id firstname.lastname@example.org
Hi, I want to pass a value in to Link object. For ex: I have a link where in which contains the value like "DC4463219(Active)". Whenever i will execute the script this value "DC4463219 (Active)" will get changed. I got the value DC4463219(Active) from the link and stored that value in variable "ACTUAL". If i want to select the same link again, while recording the value DC4463219(Active) will be recorded in object repository. So, that it will not work for the next cycle of execution as the value will get changed everytime as i mentioned above. I want to pass that Acutal value in to link object. The script is as follows: Actual Script when recording: Browser("Web Login").Page("Application").Frame ("ScopeFrame").Link(DC4463219(Active)".Click But now instead of this DC4463219(Active) i want to pass a variable where i have the same value. I tried to execute the script Browser("Web Login").Page("Application").Frame ("ScopeFrame").Link(Actual).Click But it is displaying the error message as that the value which we got from Actual is not existing in Object repository. So,i made the link object as regular expression. Even it is displaying the same message as mentioned above. If you are not able to understand, feel free to contact me with email@example.com
Can we use smart identification in Keyword Driven approach? If yes , How we can use. Please Explain?
Does QTP provides any tools for parametarization?
How to Close all browsers in reverse order.
Hi I'm a beginner in QTP. So far I'm ok with Descriptive but stuck while implementing Hybrid Frame work. 1. I have created a Keyword file with .vbs ext set home=description.create home("title").value="Welcome to feests" set reglink=description.create reglink("name").value="register yourrestaurant / take away" set fbusname=description.create fbusname("name").value="business_name" set dispname=description.create dispname("name").value="display_name" set restchkbox=description.create restchkbox("name").value="restaurant" set cuiscate=description.create cuiscate("name").value="cuisine_categery1" set addline1=description.create addline1("name").value="address_line1" set pstcode=description.create pstcode("name").value="address_postcode" set cntry=description.create cntry("name").value="address_country" set mlandno=description.create mlandno("name").value="landline_no" set emailadd=description.create emailadd("name").value="email" 2. I have created an Function Library file as follows Function launch() bro="C:\Program Files\Internet Explorer\iexplore.exe" url="http://www.feests.com/" invokeapplication bro&" "&url Browser(home).page(home).Link(reglink).click End Function Function restregistration(karthik, teja, Ameerpet, UK) Browser(home).page(home).WebEdit(fbusname).set "karthik" Browser(home).page(home).WebEdit(dispname).set "teja" Browser(home).page(home).WebCheckBox(restchkbox).set "ON" Browser(home).page(home).WebList(cuiscate).Select "Indian" Browser(home).page(home).WebEdit(addline1).set "Ameerpet" Browser(home).page(home).WebEdit(pstcode).set "UK" Browser(home).page(home).WebList(cntry).select "United Kingdom" Browser(home).page(home).WebEdit(mlandno).set "023775347" Browser(home).page(home).WebEdit(emailadd).set "firstname.lastname@example.org" End Function 3. This is how I have called the keywords and Functions in QTP executefile"C:\Documents and Settings\karthik\Desktop\keywords.vbs" executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs" launch restregistration karthik, teja, Ameerpet, UK, "email@example.com" Now the issue is, I'm trying to enter the email ID in WebEdit field. But I dont know what is the mistake I did, if I run the script in QTP it is showing following error Error: Expected identifier Line (2): "executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs"". Can someone help me fix this, please!!?
in flight reservation ex once u login, u go into next window where we hav an option of new, open and help etc.. how to fetch those options and to go to respectiv tab accordingly using qtp.. plz let me knw answer for tis as early as possible. Thanks in advance... asha
How to get data line by line from web element
Can anybody help me for vb script in qtp? give me examples for practice plz.
what are the cases in which we use XML and accessibility check points.