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

Answers were Sorted based on User's Feedback



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

Answer / raju

I think it's possible, using the setToproperty.u can add
the one 0r more property's in runtime

SCRIPT:
OH.setTOpropery "property name","propery value"

If u have any doubt just give me the call:
09823257761
pune-14

Is This Answer Correct ?    2 Yes 0 No

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

Answer / ycy

I think it is not possible to add while recording.
I we do any operation on that object, it will add to object
repository.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / 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

More QTP Interview Questions

If u r using library files (Instead of Check Points) , How do u do bitmap check ?

0 Answers  


How i can test the background color of the records displayed in a Table. Eg i have a .net desktop application and there is a Table(swftable) with records displayed in the grids. i have to validate whether the 1st record is displayed in white background color and 2nd record in light blue background color...But the constraints is that once user click on the first record...the background color changes to grey.......Plze let me now how to validate this with QTP 9.2.

9 Answers   Accenture,


if our qtp vb Script may be Currepted then What we want do?

0 Answers   IBM,


How u do the back end testing in QTP?

2 Answers   HP, SunGard, TCS,


In qtp what type of data tables are used , name and list out them

1 Answers   Polaris,






What is the significance of “action 0” in qtp?

0 Answers  


Hi Friends, I'm new to QTP. I want to write a function in QTP for below senario. In an Excel sheet column B, I Have 10 Url/Links, and in Colum A there is a Flag as Y and N. My test should run only on those iterations which are flagged as Y. Please help, Thanks

6 Answers  


what is test scheduleling?

0 Answers   IBM,


why do we go for Test Automation?

2 Answers  


Can I import a excel sheet in Action1 datatable? How?

2 Answers   IBM,


When i use paramateriztion for tickets in flight reservation application , the tes'll run for first iteration but for the second iteration it'll give this details, but the second iteration is failed. Pls anyone clarify it. Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.

2 Answers  


Idid my qtp course in 2007 june in mind Q i for got to use this tool ,i want to mention in my resume about this ,how can i rectify this ,pls give me any idea .

2 Answers   Quest,


Categories