Exception when running a verify command with flexmonkey, launched from ant

FlexMonkey Forum

Hi you guys,

I have recorded a simple test with 1 text input having a value : A

When I run the test from within the FlexMonkey main window (flexMonkey target), my verify is executed and it passes.

When I run the same thing from ant, I get the following exception:

RangeError: Error #2066: The Timer delay specified is out of range.
    at Error$/throwError()
    at flash.utils::Timer/set delay()
    at com.gorillalogic.flexmonkey.monkeyCommands::VerifyMonkeyCommand/execute()[/Users/grroggy/Documents/FlexMonkey2010/AirMonkeyLibrary/src/com/gorillalogic/flexmonkey/monkeyCommands/VerifyMonkeyCommand.as:107]
    at com.gorillalogic.flexmonkey.monkeyCommands::MonkeyRunnerEngine/runCommand()[/Users/grroggy/Documents/FlexMonkey2010/AirMonkeyLibrary/src/com/gorillalogic/flexmonkey/monkeyCommands/MonkeyRunnerEngine.as:79]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.utils::Timer/tick()

 

I am running flexmonkey 1.01 and flex sdk 3.3.0.4852

Thanks,

Koara--

Probably fixed in FM 4.1

Koara,

We're doing final testing on FlexMonkey 4.1 and expect to release it later this week, or early next week. If you can just hold on for a few more days, it is likely this problem is fixed in the upcoming release.

-Stu

Thanks for your response. I

Thanks for your response. I am looking forward to FlexMonkey 4.1, hoping it will fix the problem...

But does that mean this bug will never get fixed for the 3.x stream ( in flexmonkey 1.0.1 ) ?

 

I read through the forum hoping to find pple w/ the same problem but did not find anything so far ( by the way, isnt there a search in the forum? had to screen page per page...).

I was hoping that I was missing something in my test, rather than it being a real bug as this strikes me like something that would have definitely been caught during the verify command unit testing....

Thank you again,

 

3.x too

We will be releasing an update for FlexMonkey 1 as well!