for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?

Answer Posted / biman roy

Hi Gaytri,

This code is perfact--

1. Recodr the Loging scenario of Flight Reservation
2. Save the OR in a place
3 Then Delete the OR
The write the code
Set objnew = CreateObject("QuickTest.Application")
objnew.Test.Settings.Resources.ObjectrepositoryPath
="D:\Documents and Settings\bimanr\My
Documents\Bim_QTP\Test-OR-withshared.tsr"
Set objnew= Nothing


SystemUtil.Run "D:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe","","D:\Program
Files\Mercury Interactive\QuickTest
Professional\samples\flight\app\","open"
Dialog("Login").WinEdit("Agent Name:").Set "biman"
Dialog("Login").WinEdit
("Password:").SetSecure "4694dfafd6fdee359968e66ecfe222e271e
5a424"
Dialog("Login").WinButton("OK").Click

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main differences of qtp and win runner?

589


Is it possible to call win runner script in qtp?

623


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1486


can any body give the banking domain concepts/links

3631


Can any body please tell me the steps of keyword driven framework of QTP.

1563






Differentiate the type of test cases which can be automated and which cannot be automated?

564


How u will do versioning in QTP?

1449


What is the difference between local and shared object repository in qtp?

556


How to use output values in qtp ?

552


Whats the realtime QTP testing process

1989


How you can decide which type of object repository you have to use?

699


Explain actions in qtp ?

551


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1463


Explain the check points in quicktest professional (qtp)?

552


1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible

1603