First, what is "QTP"?  And how is it "picking up" data?  It is certainly
not going to be able to get anything from the itemRenderers.  

 

Second, what datatype are the objects in the dataProvider?  If
mx:Object, then they are dynamic and you can add properties to them.

 

I still do not understand what you are trying to accomplish.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of eucliptica
Sent: Tuesday, January 16, 2007 6:10 PM
To: [email protected]
Subject: [flexcoders] Re: Using Automation with Horizontal List

 

Exactly what you explained. 

<mx:HorizontalList id="avalActList" height="30" width="100%"
dataProvider="{modelLocator.someArrayCollection}" 
itemRenderer="com.someComponentWithLabelFields"/>

is the list and item renderer is bound to an object in ArrayCollection.

Well main problem here is that data that I bind to is coming through 
FDS and I can not change dataProvider (objects in that 
arraycollection) to add automationName property that I would (not 
display) but assign to labels with "automationName" property so it can 
be picked up by QTP. 

Just to be clear I don't need to add automationName to renderer as I 
don't care about it but fields in itemrenderer have to have correct 
automation name assigned so it gets picked up by QTP without 
overwriting values.

Regards

 

Reply via email to