How we can add objects to the object repository during the
running?is it possible or not?explain

Answer Posted / sreekanth chilam

Hi ,


Use the ObjectRepositoryUtil API functions from QuickTest
Plus .

QuickTest Plus files contain documentation on how to
access the Object Repository from within the script

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

1265


Define Error Pane of UFT?

865


Explain quicktest professional testing process?

731


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

2621


Explain how to use QTP to check broken links on a page?

765


What is QTP testing process?

813


How do client side image and server side image work?

1595


Is it possible to split an action? How?

842


What are the 3 main stages involved in testing with qtp?

810


Explain how you can delete excel file in qtp?

800


In qtp, explain what is crypt object

806


what are the mandatory properties for a tex boxc (scenario?)

1742


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

1665


What is the use of text output value in quicktest professional (qtp)?

794


images are dynamically changes how to compare two images with out using the bitmap

2179