How to load the object repository at run time?
Answer Posted / uday kumar_anem
Use the Automation Object Model to specify the path to a
Object Repository:
Dim App 'As Application
Set App = CreateObject("QuickTest.Application")
App.Test.Settings.Resources.ObjectRepositoryPath
= "<PathToYourObjectRepositoryFileHere>"
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
How do we analyze the checkpoint results?
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
What are the two types of repositories available, explain them?
Explain measuring transaction.
What is the use of text output value in quicktest professional (qtp)?
Hi Samrat, Thank u very much, what u said it is right.
Tell me one scenario, the complex functionality you have automated in your project?
How many types of trigger events are there in qtp?
What is the script for database check point, bitmapchek point, regular expression ?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
What is a checkpoint? How many check points are there in qtp?
Write a QTP script to enter a keyword in to Google search engine?
Define Canvas view of UFT?