GithubHelp home page GithubHelp logo

rsrini7 / flexmonkey Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 124.11 MB

Automatically exported from code.google.com/p/flexmonkey

CSS 0.97% JavaScript 7.74% HTML 28.95% ActionScript 61.35% Java 0.98%

flexmonkey's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @rsrini7
  • ๐Ÿ‘€ Iโ€™m interested in ...
  • ๐ŸŒฑ Iโ€™m currently learning ...
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on ...
  • ๐Ÿ“ซ How to reach me ...

flexmonkey's People

Watchers

 avatar

flexmonkey's Issues

Need to be able to re-record events generated from flexunit tests back into command list.

This would allow some simple semblance of "round-tripping" a test script
out of the tool and back in again.

This functionality is currently disabled, but can be re-enabled to allowing
you to run a flexunit test while Record is enabled. However, there is a bug
whereby tests re-recorded events are receiving input string arguments are
being received as what appear to be strings of character codes rather than
the characters themselves. 


Original issue reported on code.google.com by [email protected] on 19 Sep 2008 at 7:06

feature request (with patch): wait for UIComponent in command queue


It's occasionally useful to be able to wait for certain UIComponents during the
execution of a set of commands

Here is my suggestion:

http://pastebin.com/m1a4e2e86

example:

commands = commands.concat([
 new WaitForComponentCommand('myButtonAutomationName'),
 new FlexCommand('myButtonAutomationName', "Click", ["0"], "automationName")
]);                         




Original issue reported on code.google.com by [email protected] on 30 Apr 2009 at 7:52

UI: Checking all commands in the CommandList causes them to be autogenerated backwards in "TestCase Code" tab

What steps will reproduce the problem?
1. Record a test manually
2. Click the CheckBox header so that all Commands are selected.
3. Click "TestCase Code" tab.

What is the expected output? What do you see instead?
The commands are listed backwards from how they were entered.  The commands
should list in the same order as on the CommandList.

What version of the product are you using? On what operating system?
0.8/Firefox

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Mar 2009 at 9:24

Problem with FlexMonkey example app

What steps will reproduce the problem?
1. Open flex monkey example app.
2. Click the record button in the FlexMonkey Window.
3. Click the add button in the Monkey Contact Manager.
4. Click the new entry in the FlexMonkey window. 

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

I would expect no error, instead I see:

TypeError: Error #1009: Cannot access a property or method of a null object
reference.
    at
mx.automation.delegates.controls::DataGridAutomationImpl/getItemAutomationNameOr
ValueHelper()[C:\Work\flex\dmv_automation\projects\automation\src\mx\automation\
delegates\controls\DataGridAutomationImpl.as:196]
    at
mx.automation.delegates.controls::DataGridAutomationImpl/getItemAutomationValue(
)[C:\Work\flex\dmv_automation\projects\automation\src\mx\automation\delegates\co
ntrols\DataGridAutomationImpl.as:129]
    at
mx.automation::AutomationManager/helpCreateIDPart()[C:\Work\flex\dmv_automation\
projects\automation\src\mx\automation\AutomationManager.as:1572]
    at
mx.automation.delegates.controls::ListBaseAutomationImpl/createAutomationIDPart(
)[C:\Work\flex\dmv_automation\projects\automation\src\mx\automation\delegates\co
ntrols\ListBaseAutomationImpl.as:312]
    at
mx.core::UIComponent/createAutomationIDPart()[E:\dev\3.1.0\frameworks\projects\f
ramework\src\mx\core\UIComponent.as:9075]
    at
mx.automation::AutomationManager/captureID()[C:\Work\flex\dmv_automation\project
s\automation\src\mx\automation\AutomationManager.as:2227]
    at
mx.automation::AutomationManager/captureIDFromMouseDownEvent()[C:\Work\flex\dmv_
automation\projects\automation\src\mx\automation\AutomationManager.as:2158]



What version of the product are you using? On what operating system?

The version of the FlexMoney app is the current version shown on your
website (as of January 26, 2008)

The Version of the flash player is 9,0,124,0

I am on Windows XP using Firefox/3.0.5 as my browser.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Jan 2009 at 1:52

Allow for stop and restart of recording (toggle recording)

Proposed Enhancement

When executing FlexMonkey change the 'run' button to a 'stop' button which
stops flex monkey execution. Multiple simultaneous executions of FlexMonkey
create instability. In your example app, doing so gave me the following
exception (or similar): 

Unable to resolve id 'label{ string}automationClassName{FlexApplication
string}id{null object}automationName{index:-1
string}className{FlexMonkeyLauncher string}automationIndex{index:-1
string}|label{ string}automationClassName{FlexApplication
string}className{MonkeyContacts string}automationIndex{index:1
string}automationName{MonkeyContacts.swf string}id{null object}|label{
string}automationClassName{FlexTitleWindow string}id{null
object}automationName{index:0 string}className{mx.containers.TitleWindow
string}automationIndex{index:0 string}|label{
string}automationClassName{FlexDividedBox string}id{null
object}automationName{index:0 string}className{mx.containers.VDividedBox
string}automationIndex{index:0 string}|automationClassName{FlexDataGrid
string}className{mx.controls.DataGrid string}automationIndex{index:6
string}automationName{grid string}id{grid string}|displayAsPassword{false
boolean}editable{true boolean}className{mx.controls.TextInput
string}automationName{%20%20%7C%20HelloWorld%20%7C%20Home%20%7C%20555-1234%20%7C
%20January26,%202009
string}automationClassName{FlexTextArea string}automationIndex{birthday:0
string}id{null object}'.


What version of the product are you using? On what operating system?

The version of the FlexMoney app is the current version shown on your
website (as of January 26, 2008)

The Version of the flash player is 9,0,124,0

I am on Windows XP using Firefox/3.0.5 as my browser.


Original issue reported on code.google.com by [email protected] on 26 Jan 2009 at 2:13

Not running buttons with the same names.

1.Add e.g. 3 button with the same name (e.g. "OK") but with different ID 
on the canvas.
2.Bind some action to each button which identifies itself.
3.Record: click first button, second ant third.
4.Try to Run.
Result: recorded clicks on first button only.
Expected result: to play in steps like in record.

Flex SDK 3.0.1
OS: Win XP.

Looks like player identifies buttons by label. I propose to identify all 
components by ID only.

Original issue reported on code.google.com by [email protected] on 27 Oct 2008 at 12:59

Compile Fails When Attepmting to Link Flexmonkey into Existing App

What steps will reproduce the problem?
1. Add the FlexMonkey.swc to the libs of an existing flex project as
described in the documentation.
2. Add the additional command line arguments needed to link flexmonkey into
the existing app as described here:
http://code.google.com/p/flexmonkey/wiki/LinkingFlexMonkeyIntoApp
3. Press OK to confirm the changes and recompile the project.

What is the expected output? What do you see instead?
The compile will fail with with the error "Unable to locate resource bundle
automation.swc for local en_US". This error is also thrown for a number of
other swc files that cannot be located.

I tried copying the contents of the /libs folder into the /locales/en_US
folder and still get the same errors.

What version of the product are you using? On what operating system?
FlexMonkey 0.8a, Windows XP SP3, flexbuilder sdk 3.2


Original issue reported on code.google.com by [email protected] on 21 May 2009 at 4:06

enableAutoStart error

Hi Stu,

Just got up and running today. Really impressed and loving it so far. 

Not sure what's causing this error. I'm not seeing it in the FlexMonkey
example but I am when I attempt to enableAutoStart it into my code. 

I'm getting the following stack trace:



TypeError: Error #1006: expandHandler is not a function.
    at
<anonymous>()[/Users/sstern/eclipse/gxesvn/FlexMonkey/src/com/gorillalogic/flexm
onkey/FlexMonkey.mxml:68]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()
    at
flexunit.flexui::TestRunnerBase/onAllTestsEnd()[/Users/amcleod/SubVersion/flexun
it/trunk/FlexUnitLib/src/flexunit/flexui/TestRunnerBase.mxml:151]
    at
flexunit.flexui::TestRunner/testEnded()[/Users/amcleod/SubVersion/flexunit/trunk
/FlexUnitLib/src/flexunit/flexui/TestRunner.as:93]
    at
flexunit.runner::BaseTestRunner/endTest()[/Users/amcleod/SubVersion/flexunit/tru
nk/FlexUnitLib/src/flexunit/runner/BaseTestRunner.as:47]
    at
flexunit.framework::TestResult/endTest()[/Users/amcleod/SubVersion/flexunit/trun
k/FlexUnitLib/src/flexunit/framework/TestResult.as:287]
    at
flexunit.framework::TestResult/doFinish()[/Users/amcleod/SubVersion/flexunit/tru
nk/FlexUnitLib/src/flexunit/framework/TestResult.as:122]
    at
flexunit.framework::TestResult/doContinue()[/Users/amcleod/SubVersion/flexunit/t
runk/FlexUnitLib/src/flexunit/framework/TestResult.as:111]
    at
flexunit.framework::TestResult/continueRun()[/Users/amcleod/SubVersion/flexunit/
trunk/FlexUnitLib/src/flexunit/framework/TestResult.as:73]
    at
flexunit.framework::AsyncTestHelper/startAsync()[/Users/amcleod/SubVersion/flexu
nit/trunk/FlexUnitLib/src/flexunit/framework/AsyncTestHelper.as:55]
    at
flexunit.framework::TestCase/startAsync()[/Users/amcleod/SubVersion/flexunit/tru
nk/FlexUnitLib/src/flexunit/framework/TestCase.as:326]
    at
flexunit.framework::TestResult/doContinue()[/Users/amcleod/SubVersion/flexunit/t
runk/FlexUnitLib/src/flexunit/framework/TestResult.as:107]
    at
flexunit.framework::TestResult/doRun()[/Users/amcleod/SubVersion/flexunit/trunk/
FlexUnitLib/src/flexunit/framework/TestResult.as:90]
    at
flexunit.framework::TestResult/run()[/Users/amcleod/SubVersion/flexunit/trunk/Fl
exUnitLib/src/flexunit/framework/TestResult.as:65]
    at
flexunit.framework::TestCase/runWithResult()[/Users/amcleod/SubVersion/flexunit/
trunk/FlexUnitLib/src/flexunit/framework/TestCase.as:165]
    at
flexunit.framework::TestSuite/runTest()[/Users/amcleod/SubVersion/flexunit/trunk
/FlexUnitLib/src/flexunit/framework/TestSuite.as:186]
    at
flexunit.framework::TestSuite/runNext()[/Users/amcleod/SubVersion/flexunit/trunk
/FlexUnitLib/src/flexunit/framework/TestSuite.as:174]
    at
flexunit.framework::TestSuiteTestListener/handleTimer()[/Users/amcleod/SubVersio
n/flexunit/trunk/FlexUnitLib/src/flexunit/framework/TestSuiteTestListener.as:74]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()


What version of the product are you using? On what operating system?
Mac, Flex Builder 3.2, FlexUnit 0.9, FlexMonkey .3a

thanks,
Seth

Original issue reported on code.google.com by [email protected] on 19 Nov 2008 at 6:40

Integration With New Version of FlexUnit

I just found out that the flexunit and fluint projects are working together
on the next version of flexunit. When can we expect a new version of
flexmonkey that takes advantage of these new features?


Original issue reported on code.google.com by [email protected] on 22 May 2009 at 3:10

Need Image capture functionality

What steps will reproduce the problem?
1. Click on Record
2. Click on ImageShot button (required in Flex Launcher)
3. Should record image capture action and add it recording script.

What is the expected output? What do you see instead?
 It should record it as flex command and save the screen shot on specified 
path on local machine. 

What version of the product are you using? On what operating system?
0.8

Please provide any additional information below.
I have image capture code. 


Original issue reported on code.google.com by [email protected] on 13 Mar 2009 at 8:16

Error Alert message: Automation Manager does not appear to be loaded.

What steps will reproduce the problem?
1. Generate unit test code with FlexMonkey.
2. Create custom assert for the test code.
3. Run the test code.

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

Expected output: FlexUnit Runner running my simple application test results
(using FlexMonkey generated test code).

I see this message "Automation Manager does not appear to be loaded. Be
sure you are including the automation libraries."

What version of the product are you using? On what operating system?

Latest (0.8) FlextMonkey ons Windows Vista.

Please provide any additional information below.

I guess this I simply something (a lib) missing though FlexMonkey.swc,
FlexSpy.swc, FlexUnit.swc and FlexUnitOptional.swc are all in my lib folder.

Any ideas?

Thanks again and have a nice day!

Original issue reported on code.google.com by [email protected] on 6 Apr 2009 at 2:59

assert failling will break other asserts

What steps will reproduce the problem?
1. Generate unit test code with FlexMonkey.
2. Create 3 custom asserts for the test code.
3. Run the test code.

What is the expected output? What do you see instead?
Expected: all asserts should be run, even the first assert failed.

What version of the product are you using? On what operating system?
Latest (0.8) FlextMonkey ons Windows XP.

Please provide any additional information below.
e.g. we run FlexUnitTests
1. 3 asserts:
Assert.assertEquals("Fred", ArrayCollection(comp.dataProvider).getItemAt
(0).name);
Assert.assertEquals("Mobile", ArrayCollection(comp.dataProvider).getItemAt
(0).type);
Assert.assertEquals("555 555 5555", ArrayCollection
(comp.dataProvider).getItemAt(0).phone);

2. if the first assert failed, we cannot see the result about the 2th or 
3th assert.

Original issue reported on code.google.com by [email protected] on 5 Jul 2009 at 12:31

Error Expanding a flex Tree during FlexMonkey recording

What steps will reproduce the problem?
1. Build a project with attached files Simpletree.mxml, Mail\MailTree.as
2. Run the app and start recording.
3. Expand the tree 'Personal Folder'

What is the expected output? 
Should work.

What do you see instead?
Error message as recorded in 
http://groups.google.com/group/flexmonkey/browse_thread/thread/90b90393c2a9
a232

What version of the product are you using? On what operating system?
Monkey .5
Flex SDK 3.2.0

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 5 Dec 2008 at 12:42

Attachments:

FlexMonkey does not work with MaskedTextInput control

What steps will reproduce the problem?
1. Use Reservation.swf as App to Test
2. Click on Record button.
3. Enter value for Contact Number field.
4. Stop recording.
5. Blank out Contact Number
6. In "Command List" tab, Click Run to play back.

What is the expected output? What do you see instead?
I should see the original number entered, but nothing shown in Contact 
Number field.

What version of the product are you using? On what operating system?
FlexMoney 0.8a on Windows XP.



Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 26 Mar 2009 at 5:34

Attachments:

ioError loading FlexMonkeyEnv.xml

Although several folks have reported this issue, we have as of yet been
unable to reproduce ourselves. FlexMonkeyEnv.xml is embedded in the
flexmonkey swc and should be loadable from there. 


Original issue reported on code.google.com by [email protected] on 6 Oct 2008 at 5:54

Add Support for AdvancedDataGrid components

What steps will reproduce the problem?
1. Create an application that uses an AdvancedDataGrid
2. Attempt to use flexmonkey to record/run events associated with component
3.

What is the expected output? What do you see instead?
Nothing happens.  AdvancedDataGrid's do not inherit from DataGrid's so the
FlexMonkey libraries don't know what events to throw at it.

What version of the product are you using? On what operating system?
0.6a

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Feb 2009 at 5:08

Capturing images with FlexMonkey - new feature

Hi,
  I am using FlexMonkey for testing Flex applications. The requirement of
our test process was to capture images of the Flex application while
recording the UI interactions.
  I have enhanced the code for FlexMonkey so that it has a provision to
capture images while recording so that they can be saved as benchmarks for
regression testing.
  I have also added a feature to save the generated test case to the local
file system.
  Please let me know if you are interested in the code so I could share it
in an appropriate location.

thanks,
Richa.

Original issue reported on code.google.com by [email protected] on 22 Apr 2009 at 8:43

automation_dwv.swc is not properly included

What steps will reproduce the problem?
1. Try to detect ADG events using the 0.8 release
2.
3.

What is the expected output? What do you see instead?
Events are supposed to be recorded. They don't get recorded

What version of the product are you using? On what operating system?
0.8 mac os x

Please provide any additional information below.
There is a typo in build.xml in the 0.8 branch and in trunk. The SWC
required for ADG automation is not spelled correctly. I've attached a patch
to fix it. The release should be recompiled and re-released

Original issue reported on code.google.com by [email protected] on 4 Mar 2009 at 3:34

Attachments:

Recording UI Commands based on previous UI commands

What steps will reproduce the problem?
1. Let's say we have button 1.
2. Upon click, a button 2 is displayed alongside button 1.
3. Then you click button two and replay all the commands.

What is the expected output? What do you see instead?
I would expect both button clicks to be replayed. I am seeing only button 1
click replayed and all the UI interactions with components that depend on
button 1 (and not originally shown) ignored...

What version of the product are you using? On what operating system?
0.8, windows xp

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Jun 2009 at 7:51

Getting exceptions while accessing swf application through FlexMonkey.

What steps will reproduce the problem?

We have a flex application (.swf file) to automate. I can open the
file and do all the actions as stand alone. But, when same application is
tried to open in FlexMonkey, clicking on Menu items throws run time
exceptions. The corresponding menu item page does not open. When, browed
through mxml file, all the states are defined.

For eg. hitting "Home" Menu item throws below exception -

ArgumentError: Undefined state 'Home'.
    at
mx.core::UIComponent/getState()[C:\autobuild\3.2.0\frameworks\projects\framework
\src\mx\core\UIComponent.as:7230]
    at
mx.core::UIComponent/findCommonBaseState()[C:\autobuild\3.2.0\frameworks\project
s\framework\src\mx\core\UIComponent.as:7250]
    at
mx.core::UIComponent/commitCurrentState()[C:\autobuild\3.2.0\frameworks\projects
\framework\src\mx\core\UIComponent.as:7149]
    at
mx.core::UIComponent/setCurrentState()[C:\autobuild\3.2.0\frameworks\projects\fr
amework\src\mx\core\UIComponent.as:7113]
    at mx.core::UIComponent/set
currentState()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UICo
mponent.as:4361]
    at
com.staffing.views.home::MainToolbar/itemClick()[C:\tmp\src\com\staffing\views\h
ome\MainToolbar.mxml:18]
    at
com.staffing.views.home::MainToolbar/___MainToolbar_MenuBar1_click()[C:\tmp\src\
com\staffing\views\home\MainToolbar.mxml:25]

Hitting one more menu item "Find Help" throws below exceptions -

ArgumentError: Undefined state 'FindHelp'.
    at
mx.core::UIComponent/getState()[C:\autobuild\3.2.0\frameworks\projects\framework
\src\mx\core\UIComponent.as:7230]
    at
mx.core::UIComponent/findCommonBaseState()[C:\autobuild\3.2.0\frameworks\project
s\framework\src\mx\core\UIComponent.as:7250]
    at
mx.core::UIComponent/commitCurrentState()[C:\autobuild\3.2.0\frameworks\projects
\framework\src\mx\core\UIComponent.as:7149]
    at
mx.core::UIComponent/setCurrentState()[C:\autobuild\3.2.0\frameworks\projects\fr
amework\src\mx\core\UIComponent.as:7113]
    at mx.core::UIComponent/set
currentState()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UICo
mponent.as:4361]
    at
com.intuit.staffing.views.home::MainToolbar/itemClick()[C:\tmp\src\com\intuit\st
affing\views\home\MainToolbar.mxml:18]
    at
com.staffing.views.home::MainToolbar/___MainToolbar_MenuBar1_click()[C:\tmp\src\
com\staffing\views\home\MainToolbar.mxml:25]

Please, let me know, if any solution.
Thanks.


What version of the product are you using? On what operating system?

OS - WinXP
Adobe Flash Player 9
FlexMonkey 0.6.a




Original issue reported on code.google.com by [email protected] on 23 Feb 2009 at 8:54

Not able to luanch flex application from FlexMonkeyLauncher.

What steps will reproduce the problem?
1. We have a flex application (.swf file) to automate. I can open the file
and do all the actions as stand alone. But, when same application is tried
to open in FlexMonkey, it does not open up. Below run time exceptions are
thrown and nothing appears.

-------------------------------------------------------------------------
ReferenceError: Error #1069: Property analytics not found on
FlexMonkeyLauncher and there is no default value.
    at com.intuit.workexchange.controls.login::LoginPanel()
    at
mx.core::Container/createComponentFromDescriptor()[C:\autobuild\3.2.0\frameworks
\projects\framework\src\mx\core\Container.as:3579]
    at
mx.core::Container/createComponentsFromDescriptors()[C:\autobuild\3.2.0\framewor
ks\projects\framework\src\mx\core\Container.as:3493]
    at
mx.core::Container/createChildren()[C:\autobuild\3.2.0\frameworks\projects\frame
work\src\mx\core\Container.as:2589]
    at
mx.core::UIComponent/initialize()[C:\autobuild\3.2.0\frameworks\projects\framewo
rk\src\mx\core\UIComponent.as:5370]
    at
mx.core::Container/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework
\src\mx\core\Container.as:2526]
    at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:
\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5267]
    at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\a
utobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:3305]
    at
mx.core::Container/addChildAt()[C:\autobuild\3.2.0\frameworks\projects\framework
\src\mx\core\Container.as:2217]
    at
mx.core::Container/addChild()[C:\autobuild\3.2.0\frameworks\projects\framework\s
rc\mx\core\Container.as:2140]
    at
mx.core::Container/createComponentFromDescriptor()[C:\autobuild\3.2.0\frameworks
\projects\framework\src\mx\core\Container.as:3681]
    at
mx.core::Container/createComponentsFromDescriptors()[C:\autobuild\3.2.0\framewor
ks\projects\framework\src\mx\core\Container.as:3493]
    at
mx.containers::ViewStack/instantiateSelectedChild()[C:\autobuild\3.2.0\framework
s\projects\framework\src\mx\containers\ViewStack.as:1140]
    at
mx.containers::ViewStack/commitProperties()[C:\autobuild\3.2.0\frameworks\projec
ts\framework\src\mx\containers\ViewStack.as:664]
    at
mx.core::UIComponent/validateProperties()[C:\autobuild\3.2.0\frameworks\projects
\framework\src\mx\core\UIComponent.as:5807]
    at
mx.managers::LayoutManager/validateProperties()[C:\autobuild\3.2.0\frameworks\pr
ojects\framework\src\mx\managers\LayoutManager.as:539]
    at
mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks
\projects\framework\src\mx\managers\LayoutManager.as:659]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at
mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projec
ts\framework\src\mx\core\UIComponent.as:8628]
    at
mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\project
s\framework\src\mx\core\UIComponent.as:8568]
-------------------------------------------------------------------------

What is the expected output? What do you see instead?
Expected out is - the swf file should get luanched.

What version of the product are you using? On what operating system?
I have Adobe Flash Player 9.
OS is - Windows XP Professional SP 2.
Flex Builder 3 is used for development.

Please let me know, what is causing this error.

Thanks in Advance.


Original issue reported on code.google.com by [email protected] on 18 Feb 2009 at 10:56

Add ablility to record selections of grids

What steps will reproduce the problem?
1. add a grid in the application
2. click "record" and select the grid row(s)
3. the action is not recorded to the command list

What is the expected output? What do you see instead?
the selecting grid action should be recorded in the command list. However,
its not showing there.

What version of the product are you using? On what operating system?
0.6

Please provide any additional information below.
When using master-detail form. This will become a very useful feature when 
you try to edit the information and update back to the grid

Original issue reported on code.google.com by [email protected] on 23 Feb 2009 at 11:58

Be able to start/stop commands instead of starting execution in the runCommands(...) call.

What steps will reproduce the problem?
  Not an issue.  This is an enhancement that I've developed and would like
reviewed for inclusion in the next version.

The attached files enable flexmonkey users submit commands to be queued up
in the CommandRunner until the startExecution method is called.  It also
allows users to stop the execution of a set of commands (during a test's
teardown method for instance) using the stopExecution method.


Please provide any additional information below.

See attached versions of CommandRunner.as and FlexMonkey.mxml.

Original issue reported on code.google.com by [email protected] on 1 Apr 2009 at 10:30

Attachments:

Issue with automation and Flex ControlBar

What steps will reproduce the problem?
1. Create a TitleWindow with a ControlBar and a Button
2. Record a button click
3. Replay the recorded button click

What is the expected output? What do you see instead?
Flex automation should have clicked the button but instead nothing happens.
If the button is moved out of the ControlBar and into the TitleWindow
everything works fine.

What version of the product are you using? On what operating system?
FlexMonkey 0.2b, Flex SDK 3.1.0.2710, FlexUnit 0.9

Please provide any additional information below.
All other automation seem to work ok and like I said the playback work fine
if the button is not in the ControlBar.


Original issue reported on code.google.com by [email protected] on 1 Oct 2008 at 8:08

Preloader exception thrown when trying to load application within FlexMonkey

What steps will reproduce the problem?
I can open the compiled swf file and do all the actions as stand alone. 
But, when same application is loaded in FlexMonkey, I get an error that 
seems to point to the Preloader.  I also tried setting the attribute 
usePreloader="false" but still get the same error shown below. 

TypeError: Error #1009: Cannot access a property or method of a null 
object reference.
    at mx.automation::AutomationManager$/createDelegate()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:290]
    at mx.automation::AutomationManager$/addDelegates()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:390]
    at mx.automation::AutomationManager$/addDelegates()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:391]
    at mx.automation::AutomationManager$/addDelegates()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:370]
    at mx.automation::AutomationManager$/addDelegates()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:391]
    at mx.automation::AutomationManager$/addDelegates()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:370]
    at mx.automation::AutomationManager$/addDelegates()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:391]
    at mx.automation::AutomationManager$/addDelegates()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:370]
    at mx.automation::AutomationManager$/addDelegates()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:370]
    at mx.automation::AutomationManager$/addDelegates()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:370]
    at mx.automation::AutomationManager$/addDelegates()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:370]
    at mx.automation::AutomationManager$/addDelegates()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:370]
    at mx.automation::AutomationManager$/childAddedHandler()
[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\Automati
onManager.as:206]
    at flash.display::DisplayObjectContainer/addChildAt()
    at mx.managers::SystemManager/preloader_preloaderDoneHandler()
[C:\autobuild\3.2.0
\frameworks\projects\framework\src\mx\managers\SystemManager.as:2980]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/displayClassCompleteHandler()
[C:\autobuild\3.2.0
\frameworks\projects\framework\src\mx\preloaders\Preloader.as:434]
    at mx.preloaders::Preloader/dispatchAppEndEvent()
[C:\autobuild\3.2.0
\frameworks\projects\framework\src\mx\preloaders\Preloader.as:294]
    at mx.preloaders::Preloader/appCreationCompleteHandler()
[C:\autobuild\3.2.0
\frameworks\projects\framework\src\mx\preloaders\Preloader.as:442]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0
\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]
    at mx.core::UIComponent/set initialized()[C:\autobuild\3.2.0
\frameworks\projects\framework\src\mx\core\UIComponent.as:1169]
    at mx.managers::LayoutManager/doPhasedInstantiation()
[C:\autobuild\3.2.0
\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0
\frameworks\projects\framework\src\mx\core\UIComponent.as:8628]
    at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0
\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]

What is the expected output? What do you see instead?
I expect my application to load without error.  Instead I get the error 
and then part of the application loads.

What version of the product are you using? On what operating system?
I've tried FlexMonkey 0.6 and 0.8.   Windows XP SP 2.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 24 Feb 2009 at 3:23

Ant build file

This is a svn diff to add a ant build file and facilitate the compilation
of the library

Original issue reported on code.google.com by [email protected] on 30 Sep 2008 at 8:25

Attachments:

QuickTutorial is broken

What steps will reproduce the problem?
1. load http://code.google.com/p/flexmonkey/wiki/QuickTutorial 

What is the expected output? What do you see instead?
QuickTutorial has embedded example in page

Instead: Unable to retrieve gadget xml. HTTP error 504



Original issue reported on code.google.com by [email protected] on 23 Feb 2009 at 11:22

ExternalInterface is not available in this container

What steps will reproduce the problem?
1. Run a Flex 3 project in FlexMonkeyLauncher with calls ExternalInterface 
methods.

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

Expected: FlexMonkey supports the ExternalInterface (or at least doesn't 
crash on it, so I can record & execute tests that don't use the 
ExternalInterface)

Error:

Error: Error #2067: The ExternalInterface is not available in this 
container. ExternalInterface requires Internet Explorer ActiveX, Firefox, 
Mozilla 1.7.5 and greater, or other browsers that support NPRuntime.



What version of the product are you using? On what operating system?

0.6a on Windows XP

Please provide any additional information below.

I would expect FlexMonkey to implement the ExternalInterface, or ignore 
calls to it if the first is too difficult.


Original issue reported on code.google.com by [email protected] on 21 Jan 2009 at 1:15

Rceording Agent disappear when testing thru URL

What steps will reproduce the problem?
1.  Create a Flex project(say FlexMonkeyUI).
2.  Keep the FlexmonkeyUI.swc in Lib folder of Project.
3.  Go to project properties -> Flex compiler -> Additional compiler 
argument

-include-libraries "C:/Program Files/Adobe/Flex Builder 
3/sdks/3.0.0/frameworks/libs/automation_agent.swc" "C:/Program 
Files/Adobe/Flex Builder 
3/sdks/3.0.0/frameworks/libs/automation.swc" "C:/Documents and 
Settings/user/My Documents/Flex Builder 
3/FlexMonkeyUI/libs/FlexMonkeyUI.swc"

4.  Under src folder -> Create an mxml application (say Launch.mxml)
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
creationComplete="loadIndex()">
<mx:Script>
    <![CDATA[
       public function loadIndex():void
       {
         var url:URLRequest = new URLRequest("http://www.google.co.in/");
         navigateToURL(url, "_top");
       } 


      ]]>
</mx:Script>
      </mx:Application>
5.  Running the application Launch.mxml. Its showing the recording 
agent and then google screen comes and recording agent goes away.


What is the expected output? What do you see instead?
We should see any web application and recording Agent.

What version of the product are you using? On what operating system?
FlexMonkey.0.5

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 18 Dec 2008 at 7:54

Hidden ComboBox items are not selectable.

What steps will reproduce the problem?
1. Attempt to select an item from a ComboBox that would normally require
scrolling to find.
2.
3.

What is the expected output? What do you see instead?
If the item could only be selected by scrolling down the combobox list,
then no item will be selected by FlexMonkey.  I would like to simply
specify the automation name of the item to select. 

What version of the product are you using? On what operating system?
0.6a

Please provide any additional information below.

I've attached a modified version of
\src\com\gorillalogic\aqadaptor\FlexMonkeyEnv.xml that implements my
desired behavior.

Original issue reported on code.google.com by [email protected] on 4 Feb 2009 at 6:54

Attachments:

Application.application references FlexMonkey instead of the application under test

What steps will reproduce the problem?

When calling Application.application.<id of ui component in application 
mxml>; it gives the following error:

ReferenceError: Error #1069: Property <id> not found on FlexMonkeyLauncher

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

I would expect the Application.application to reference the application 
under test, not the FlexMonkeyLauncher itself.

What version of the product are you using? On what operating system?

FlexMonkey 0.6a on Windows XP

Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 9 Feb 2009 at 12:26

Does not selected last item in ComboBox if index of last item index changes between test runs

What steps will reproduce the problem?
1. Create a ComboBox and put into it tree or more items
2. Create a test which will select latest item 
3. Run the test :)

What is the expected output? What do you see instead?
The last item should be selected but we have a TimeOut. That is why the
last item is not selected.

What version of the product are you using? On what operating system?
the FlexMonkey is 0.3a (Flex 3 SDK 3.1) and Windows XP Sp2

Please provide any additional information below.
This issue is solved when I replace the command which is generated by
FlexMonkey

new FlexCommand("Weekly", "Click", ["0"], "automationName")

this line

new FlexCommand("cboRecurringPeriodComboBox_AN", "Select", ["Monthly", "1",
"0"], "automationName")

The FlexMonkey should generate the correct commands

Original issue reported on code.google.com by [email protected] on 14 Nov 2008 at 10:48

New to flex monkey---with linux


Hi All,

I have an web application which i used to test with QTP and now the next
version of appliation is built in flex.

I want to use flexmonkey to test the application.

I do not have any acess to the code..I just had an URL with me.

Application is developed in Flex,Java on Linux OS ...

Can i use flex monkey to test with out any modification in so called swf files.

Please help

Thanks in Advance.

-Bandi

Original issue reported on code.google.com by [email protected] on 1 Jul 2009 at 7:17

Initialize theMonkey

I wanna to propose the following patch.

It will allow me to add listeners to theMonkey. Like this:
FlexMonkey.theMonkey.addEventListener(FlexEvent.CREATION_COMPLETE, startUp);

I need that to run integration tests using flex-mojos.


Index: src/com/gorillalogic/aqadaptor/AQAdapter.as
===================================================================
--- src/com/gorillalogic/aqadaptor/AQAdapter.as (revision 78)
+++ src/com/gorillalogic/aqadaptor/AQAdapter.as (working copy)
@@ -254,7 +254,7 @@
            var byteArray:ByteArray = new FlexMonkeyEnv() as ByteArray;
            var env:String = new String(byteArray.readUTFBytes(byteArray.length));
            setTestingEnvironment(env);
-           PopUpManager.createPopUp(DisplayObject(Application.application),
FlexMonkey);            
+           PopUpManager.addPopUp(FlexMonkey.theMonkey,
DisplayObject(Application.application));            

         }
     }
Index: src/com/gorillalogic/flexmonkey/FlexMonkey.mxml
===================================================================
--- src/com/gorillalogic/flexmonkey/FlexMonkey.mxml (revision 78)
+++ src/com/gorillalogic/flexmonkey/FlexMonkey.mxml (working copy)
@@ -50,12 +50,12 @@
        /**
         * Currently running FlexMonkey instance
         */ 
-       public static var theMonkey:FlexMonkey;
+       public static const theMonkey:FlexMonkey = new FlexMonkey();

        private static var autoStart:Boolean = false;

        private function create():void {
-           theMonkey = this;
+//         theMonkey = this;
            if (autoStart) {
                // For some inexplicable reason, setting selectedIndex is having no
effect :(
                tabs.selectedIndex = 2;




Original issue reported on code.google.com by [email protected] on 17 Nov 2008 at 1:56

Illegal override of lockedRowCount in mx.controls.dataGridClasses.DataGridBase.

What steps will reproduce the problem?
1. In FlexMonkeyLauncher if I don't fill in the width & height then I get 
the following error:

VerifyError: Error #1053: Illegal override of lockedRowCount in 
mx.controls.dataGridClasses.DataGridBase.

    at flash.display::MovieClip/nextFrame()
    at 
mx.managers::SystemManager/deferredNextFrame()[C:\autobuild\3.2.0\framework
s\projects\framework\src\mx\managers\SystemManager.as:319]
    at 
mx.managers::SystemManager/preloader_initProgressHandler()[C:\autobuild\3.2
.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2945]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at 
mx.preloaders::Preloader/timerHandler()[C:\autobuild\3.2.0\frameworks\proje
cts\framework\src\mx\preloaders\Preloader.as:398]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()


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

I wouldn't expect a stacktrace to appear

What version of the product are you using? On what operating system?

0.6a on Windows XP

Please provide any additional information below.

It seems to be problem loading a Flex 2 swf file



Original issue reported on code.google.com by [email protected] on 21 Jan 2009 at 1:11

Embed FlexMonkeyEnv.xml at lib

When I forget to copy FlexMonkeyEnv.xml to same place where my swf is I got 
those messages:

ioErrorHandler: [IOErrorEvent type="ioError" bubbles=false cancelable=false 
eventPhase=2 text="Error #2032: Stream Error. URL: 
file:///D|/temp/MonkeyExample/target/FlexMonkeyEnv.xml"]

Unable to load FlexMonkeyEnv.xml from current directory: Error #2148: SWF 
file 
file:///D|/temp/MonkeyExample/target/quick%2Dtutorial%2D0.1%2DSNAPSHOT.swf 
cannot access local resource 
file:///D|/temp/MonkeyExample/target/FlexMonkeyEnv.xml. Only local-with-
filesystem and trusted local SWF files may access local resources.

This is ok, but is avoidable embedding this xml.
Take a look here:
http://dispatchevent.org/roger/embed-almost-anything-in-your-swf/


VELO

Original issue reported on code.google.com by [email protected] on 23 Sep 2008 at 1:36

How to Connect to Server using FlexMonkey

Hi,

i have a login flex application.

i'm able to test the login screen for validations.

My intention is to test the screen, when i enter correct username and 
password it has to enter in to the application.

But from the FlexMonkey unit test case how can i call the server.

Is i need to start the server for doing this? 

Original issue reported on code.google.com by [email protected] on 11 Feb 2009 at 11:35

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.