AnimaWeaponTH / flexmonkey

Automatically exported from code.google.com/p/flexmonkey
0 stars 0 forks source link

DragStart and DragDrop still do not work in FlexMonkey 1.0 #60

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
==================================
FlexMonkey Use Cases:

I have two List components, both of which have dragEnabled and dropEnabled set 
to true. I am 
able to drag items from one List to the other manually, and FlexMonkey is able 
to record this 
action. However, when playing back the FlexMonkey test, the drag/drop never 
happens. I have posted a very simple project that demonstrates this issue here:

http://flexmonkey.s3.amazonaws.com/TestFlexMonkey1.zip

The bin-debug swf file is this, for anyone who doesn't want to bother 
downloading the project:

http://flexmonkey.s3.amazonaws.com/TestFlexMonkey1.swf

The source is very simply this:

http://flexmonkey.s3.amazonaws.com/TestFlexMonkey1.mxml

 <?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
            [Bindable]
            public var listData:ArrayCollection = new ArrayCollection(['one','two','three','four']);
        ]]>
    </mx:Script>
    <mx:List x="48" y="138" width="200" height="200" dataProvider="{listData}" 
dragEnabled="true" dropEnabled="true" dragMoveEnabled="false"></mx:List>
    <mx:List x="300" y="138" width="200" height="200" dragEnabled="true" 
dropEnabled="true" dragMoveEnabled="false"></mx:List>

</mx:Application>

1) App under test and MonkeyAgent on remote server?

no

2) App under test and MonkeyAgent local?

no

3) App under test loaded from local file system into FlexMonkey Target SWF
window?

yes

4) ANT run with TestLauncher?

no

5) ANT run with TestRunner?

no

6) Other? (describe)

none

Your Use Case: [1-6] :

If you use the MonkeyAgent, are you running it in the FlexBuilder Debugger?
(yes/no)
==================================

n/a

What steps will reproduce the problem?
1. Load the provided .swf
2. Create a test script that involves dragging an item from the left List to 
the right List.
3. Try to play it back

What is the expected output? What do you see instead?

I would expect to see the drag/drop action work as expected. It doesn't.

What version of the Flex SDK are you using?

3.3.0

What version of the FlexMonkey are you using?

1.0

What version of the MonkeyAgent are you using? (if applicable)

On what operating system?

OSX

Please provide any additional information below.

Tested with both Flex and AIR

Original issue reported on code.google.com by googlegr...@gersic.com on 17 Jul 2009 at 6:22

GoogleCodeExporter commented 8 years ago
We've reproduced the problem and are investigating.

Original comment by eric.owe...@gtempaccount.com on 20 Jul 2009 at 2:17

GoogleCodeExporter commented 8 years ago
It looks like this is a known problem with the Flex Automation system.  Please 
see:

https://bugs.adobe.com/jira/browse/FLEXENT-1020

It also looks like Adobe is saying that this is solved in the (Beta) Flex 4 
automation system, and that they don't 
plan to solve it for Flex 3.  FlexMonkey will support Flex 4 automation later 
this year.

Adobe provides the source code for part of the Automation system to owners of 
Flex Pro licenses, but not all.  
It's our experience that about 50% of the time, problems in the automation 
system can be tracked down and 
fixed in this code -- for instance, a custom version of an Automation Delegate 
with the fix.

We'll investigate further, but I can't provide a timeframe for a fix.

Original comment by eric.owe...@gtempaccount.com on 20 Jul 2009 at 4:44

GoogleCodeExporter commented 8 years ago
Ah well, thanks for looking into it. It's helpful to know it's a problem across 
the board with testing Flex 3 AIR 
apps.

Original comment by googlegr...@gersic.com on 20 Jul 2009 at 6:19