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
Hi All, How to get repeated word in string . Thanks Balaji
How you can make an action as re-usable action?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
Sql questions to find second max salary and how to use joins
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
What is post recovery scenario?
Explain the difference between call to action and copy action?
Define Environment Variable in UFT and its uses?
What is the use of ordinal identifier in qtp?
What is the difference in testing a client-server application and a web application?
What environment does qtp run in?
how can we do the frame work in qtp
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
How many types of parameters are available in quicktest professional?