Micro Focus QTP (UFT) Forums
How to handle dynamic objects in QTP 10.0 - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to handle dynamic objects in QTP 10.0 (/Thread-How-to-handle-dynamic-objects-in-QTP-10-0)



How to handle dynamic objects in QTP 10.0 - upadhyay40 - 11-04-2009

Hello All,

I am very new to the QTP, i want to handle dynamic objects i.e
Code:
Browser(v). Page(v).webedit(object)
so 1st time it is object, second time it is object_1 and so forth so every time while running it throws error object not found, anybody can you please let me know if you have whole script for regular expression to handle dyanamic objects

Thanks


RE: How to handle dynamic objects in QTP 10.0 - venkatbatchu - 11-04-2009

We will be chaging the Regularexpressions in the ORepository itself w.r.t dynamic object.So while execution it will not throw any kind of errors.


RE: How to handle dynamic objects in QTP 10.0 - upadhyay40 - 11-04-2009

Can u pls explain it little bit more for me how to chaging the Regularexpressions in the ORepository itself , pls actually i am new to QTP


RE: How to handle dynamic objects in QTP 10.0 - venkatbatchu - 11-04-2009

Hi,
I have posted a solution about regular expression which is under a category of "Regular Expressions" with a thread name of Using Regular Expressions

You can find the screen shots of navigation i.e how to set the regular expression for a object in object repository..

Thanks,
Venkat.Batchu


RE: How to handle dynamic objects in QTP 10.0 - upadhyay40 - 11-18-2009

Thanks venkat


RE: How to handle dynamic objects in QTP 10.0 - v_selvam - 11-18-2009

Hi Upadhyay40,

Try to understand the QTP's Object Identification Process. i.e How QTP is identifying objects. This will help you to solve all your object identification issues.