Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How to call a test from another test?

1384


How many tabs are available to view your test in a test pane and what are they?

1078


Is text area check point supports for web applications?

980


How to test results for qtp ?

1258


What is the short cut keys for the following?

1126


Explain QTP using different development techniques ?

929


I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2

2002


Why qtp always start action1 and does not start action?

1116


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

3249


How can you identify the browser and its information using the qtp script?

1009


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

2049


How many types of object repository in qtp?

1110


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3515


Explain about the quicktest professional (qtp) automation object model?

992


What is the difference between run time object and test object in QTP?

1065