QTP 9.2, Issue: Creating Shared Object repository.
I recorded 2 scripts. I exported the Object Repository to a
shared location for the first script. Associated the
exported repository to the first script and deleted the
Local Repository for the First Script. Now Opened the
Second script and try to Add the Local Object Repository of
2nd Script to Exported Object Repository. But I fail. Can
anyone please help in providing steps that need to be
followed in creating a shared object repository? Thanks in
Advance.
Answers were Sorted based on User's Feedback
Answer / vijay
in qtp 9.2 we can do this by following method
open the object repository manager.in that open the
repository file that u already exported . Make it editable
by using the 'Enable editing' option' in the file menu.
Then u can able to save your local objects to the
previously exported file.
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / shyam.meghansh
i am sorry can be more clear........... actually what need
i am not understanding
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / vikas
you r trying to associate local object repository with
shared object repository which u have exported that is not
possible first u do one thing export your local object
repository and make it shared and then use ORM i.e. object
repository manager tool and use merge or concept
Is This Answer Correct ? | 1 Yes | 0 No |
How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?
What is QTP’s model for test creation?
If you are using descriptive programming and you have two objects with the same name, so you are identiying them by name and index, how can you avoid errors if a third object with the same name is added at the begining of the page?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
how to display message with out using msgbox function?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
Diff B/w Webserver and Client Server
What are the steps involved in recovery scenario wizard?
Can any one give me some basic VB script used in QTP ?As i am new in QTP.Give sample VB script used in QTP? PLZ
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text" used in winrunner. My winrunner code is below. set_window("Confirm Add Subscriber"); rc = web_obj_get_text("Add subscriber:","#8","#1",orderID,"The order number is","\.",1); basically I need to retrieved the "orderID " from a string present in 8th row & 1st col of table "Add subscriber"
What are the different scripting languages you could use when working with QTP ?