Micro Focus QTP (UFT) Forums
How to Set Ordinal Identifier at run time - 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 Set Ordinal Identifier at run time (/Thread-How-to-Set-Ordinal-Identifier-at-run-time)



How to Set Ordinal Identifier at run time - Amit Singh Chauhan - 12-28-2011

Hi,

I want to : Can we set ordinal identifier at run time by using SetToProperty method ?

I know the way to handle the situation via descriptive programming, but just wanna know if this can be done via above way or some other.


RE: How to Set Ordinal Identifier at run time - supputuri - 12-29-2011

Hi Amit,
If you want to set the value for any of the Ordinal identifier you can do that using settoproperty, but make sure that you have added the ordinal identifier property to the object in OR so that you can use SetTOProperty properly.


RE: How to Set Ordinal Identifier at run time - Amit Singh Chauhan - 12-29-2011

Its working Thanks.. Smile


RE: How to Set Ordinal Identifier at run time - qtplearner88 - 03-22-2012

Hi Amit,'

Can u pls provide an example of how to use ordinal identifier using setToProperty??