| Project: | FlexMonkey |
| Created: | Thu, 06/24/2010 - 08:58 |
| Changed: | Tue, 12/21/2010 - 11:07 |
| Reported By: | darx |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | eschwarz |
| Status: | active |
When a target of a FlexMonkey's recorded command is inside a Scroller component, playing back doesn't work (error massage: Could not find target xxx).
Below I attach sample code of a simple application generating two text fields with automation names "Input1" and "Input2". You can record with FlexMonkey actions in both fields but when playing back u will pass successfully commands targeting "Input1" and get error with those targeting "Input2".
Sample code:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:VGroup automationName="here1">
<s:VGroup automationName="here2" width="100%">
<s:TextInput id="Input1" text="Text here"/>
</s:VGroup>
<s:Scroller
automationName="here3"
width="100%" height="100%"
creationComplete="init()"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" >
<s:VGroup automationName="here4" width="100%">
<s:TextInput id="Input2" text="Text here"/>
</s:VGroup>
</s:Scroller>
</s:VGroup>
</s:WindowedApplication>
#1
Any updates on this? To us this is a show stopper, we need scrollers.
~ theMadPenguin
#2
Investigating