How to load object properties to object repository through
scripting.give one example

Answer Posted / uday

The following is the code:

Set qtApp = CreateObject("QuickTest.Application")

Set qtRepositories =
qtApp.Test.Actions("Action1").ObjectRepositories

qtRepositories.Add "<path of the object repository>"

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many scripts did you have?

1706


Can we record using all the modes in a single script? Explanation with example is appreciated

1392


whare exactly we have to use functions and sub routain

1850


i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression

1031


when u script reveiwing in which area u more concentrates?

1422






1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins

1441


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

1945


What is Distributed testing? How does UFT support it?

613


how to explain a claims and insurance project?

1758


How to data driven test for Win objects in QTP ?

1479


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1635


when will you do debug your script? and explain that process?

1459


if numbers are always changing write a script for that

3415


What is the meaning Work bench?

1770


Explain the difference between call to action and copy action?

529