Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can we set ordinal identifier at runtime
#1
Not Solved
Hi,

Can anyone tell me if we can set "index" ordinal identifier using SetToProperty??

If possible please share the syntax

Thanks
Vivek
Reply
#2
Not Solved
I don't think you can do that. As I understand, ordinal identifiers are not part of the 'Learned' object properties that QTP uses to identify an object. The order of identification is Learned Desc then Smart Identification and then Learned Desc + Ordinal Identifier. I don't think QTP can Set such a property value at run time.

Probably it's the same reason you can't parameterize ordinal identifier.

Easiest way out is to use DP in such a case.

Others please chime in, why you think/don't think it's possible.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  index identifier falvi 4 3,322 05-23-2012, 12:08 PM
Last Post: sshukla12
  Can I use html id as an unique identifier for all the components in a web page qtplearner88 8 7,911 05-21-2012, 06:52 PM
Last Post: falvi
  How to use Ordinal Identifiers(Index,Value) using VB script qtplearner88 4 4,124 03-07-2012, 03:27 PM
Last Post: Saajo87
Question Achieving Visual Relation Identifier option using AOM scsvel 1 5,016 02-17-2012, 04:17 PM
Last Post: scsvel
  Can I use the index ordinal identifier for different browsers and page? Uma 2 3,407 08-25-2011, 03:33 AM
Last Post: Uma

Forum Jump:


Users browsing this thread: 1 Guest(s)