When Object Repository is huge, there is no space to add more features we had 5 more features are pending to add. How can we add this features for writing the scripts. Always descriptive programming is not a good solution and we dont want to go for that also, Version of the QTP tool is QTP 9.0

Showing Answers 1 - 10 of 10 Answers

atchi

  • Sep 13th, 2007
 

When 'OR' is huge, There is no space for adding some more objects to 'OR' then simply you can use one more repository while execution (dynamically). I think this is the best way but I didn't face this type of problem so please correct me if any wrong.

?Thanks,

Atchi

  Was this answer useful?  Yes

sasi_sailu

  • Sep 19th, 2007
 

Hi Atchi,

Thanks for Reply, Your answer is perfect but the thing is we are using QTP9.0, so only one shared object repository is in QTP 9.0. If we merge 2 centralized repositories means, it is not a good
idea it seems. That is why I mentioned in the query it self Descriptive programming is not a good idea. Descriptive programming is better than merging of repositories for few (some/5) features add to the application right. Any more answers beyond this. Plz Let me know.
Thanks and Regards

Sasi

  Was this answer useful?  Yes

Nanda.D Reddy

  • Sep 23rd, 2007
 

Hi,
           first remember one thing..there is no limited space for OR.

   coming to ur question..if that issue occurs..we can add different objectrepositary at runtime...

            repositoriescollection.add "<tsr file path>"

       by this method u can add no. of repositories at run time. here if u add second repository..it will automatically replaces first repository.

      we will not go always for DP.  we go for DP only when one object is repeating in no.of modules or there an auto hide panels..or object hierarchy is changing dynamically.

              i think u got my answer..if not ping me.. mail me..i will send sample script...

nanda.d@aol.in

regards..

Nanda.D

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