How to create the dynamic object repository in QTP?

Questions by rajanv2006

Showing Answers 1 - 9 of 9 Answers

saranya

  • Jul 31st, 2006
 

Can you please tell me why you use dynamic object repository?Have you come across any issues with Per Action/Shared OR?

  Was this answer useful?  Yes

kpvijay

  • Jul 31st, 2006
 

hi,

we can catch the dynamic object(which changes its property during run time) .In qtp this object can be catched using smart identification method.

if u needed further clarfication mail me .

  Was this answer useful?  Yes

mahi

  • Aug 1st, 2006
 

property values of objects of applications may change dynamically each time your applications opens, or based on certain conditions, to make the test object property values match the property values run time object, we can modify test object properties manually while design the test or component or using 'SETTOPROPERTY" STATEMENTS during run session.

  Was this answer useful?  Yes

rathna

  • Aug 2nd, 2006
 

Hi vijay this is rathna, i need some more clarification on adding dynamic objects to object repository
thanks
rathna

  Was this answer useful?  Yes

Rajan

  • Aug 3rd, 2006
 

Hi folks,

 

The question is how to create object repository in run time using descriptive programming ( without Pre Action or Shared mode obj repository)? Pls answer for this.

Thanks

Rajan V

  Was this answer useful?  Yes

anandvp2006

  • Aug 13th, 2006
 

try with this code

set app=createobject("Quicktest.Application")

app.test.setting.objectrepositoryfilepath="give the path "

or else generate the script using generate script opt. , save it and open with natepad u wil get the code

  Was this answer useful?  Yes

sushgarg

  • Nov 5th, 2009
 

We can store the dynamic objects in OR using following methods:
- set the property values of object in OR using Regular Expression instead of constant value
- use Repository Parameters to set dynamic property values for different tests or different objects

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions