How to test with the standard Flash player, rather than debug player

Folks,
I am interested in running my flexunit 4 tests against the standard flash player, rather than the debug player that comes with the SDK.  Is this possible?
BTW, I am working on Windows for now.
I installed both the flash ActiveX control for IE, and the standard flash plugin for Firefox.  I then associated the SWF file extension with Firefox using the "Open With" dialog.  I had to choose a single program, and the browser appeared to be my only choice, as I could not find any sort of "FlashPlayer10.exe" to associate with.  I ran my ant script that calls <flexunit>, and it kind of works.  It launches Firefox, runs the tests, and the results get piped back, but Firefox is not shut down.  Yep, Firefox stays open after the tests complete.  I seem to recall that the debug flash player would close itself after being opened by <flexunit>.  I tried using IE, and the same result occurs: the browser is not shutdown after the tests complete.  This behavior makes for an unacceptable test setup, as eventually the system memory on the machine will be exhausted as more and more browsers are opened and not closed.
Questions/options:
1) Is there a standard flash player "executable" somewhere on my system that I can associate the SWF files with (that would hopefully shut itself down)?
2) Second choice, is there a way to get the browser to close after <flexunit> completes?
3) or am I stuck using the debug player?  I am concerned that testing management at my company might not like the fact that we are testing against a debug player, rather than the standard one that users will likely be using. If flexunit 4 CI only supports the debug player, is there something I can say to appease management?
Thanks for any help...
Trevor

@trevorbutler - Here are my 2 cents, but the group may have a different perspectives for your questions.
Currently, we suggest the use of the CIListener class as a FU4 listener for use when building your test SWF to run via the FU4 Ant task.  This class (http://opensource.adobe.com/svn/opensource/flexunit/branches/4.x/FlexUnit4CIListener/src/o rg/flexunit/listeners/CIListener.as) uses the fscommand() function to send a message to its host environment to exit (i.e. - fscommand("quit")).  This command is only recognized by the Flash projector and stand-alone players, which are thin wrappers around the Flash Player so that it may be executed as its own process in the OS.  Based on the setup you are describing, the behavior you're seeing should be expected since the browser is the host environment for the Flash Player.  When the browser recieves the resulting message of the fscommand("quit") call nothing will happen since the browser doesn't support this command.  If you use the Flash projector or stand-alone players however, they will exit when recieving the results of this command.  The projector/stand-alone players come in two flavors, release and debug.  Release will act very closely to the typical plugin installed in the web browser (e.g. - swallows errors, no debug support, etc) whereas debug will allow you to write log files to the system, show error messages, etc.  Currently the debug stand-alones are available on Windows, Mac, Linux and the release stand-alone is only available on Linux.
To address your questions:
1.  If you've installed the Flash Player browser plugin, there is no way that I know of to launch the player as its own process.  I've only had success using the projector/stand-alone player (http://www.adobe.com/support/flashplayer/downloads.html).
2.  The Flash Player does have the ability to send javascript to the browser to ask it to close the current window, but most modern browser will prompt the user to confirm they'd like to close the window if its the only open window.  Additionally, taking this approach on Mac, the browser process would remain active until an explicit call is made to the host OS to shut down the browser process.  The Ant task could be enhanced to use the browser to launch the Flash Player, but that is not currently on our checklist of features to support.  If it's something you'd be interested in contributing, let me know and I can work with you on this.
3.  For the time being the FlexUnit4 Ant task only supports the stand-alone Flash Player (and adl soon), which for Windows only comes in the debug flavor. The only thing I've run into with the stand-alone player is that ExternalInterface reports that its enabled, but since the host environment is not the browser, javascript calls made via this class will fail, consequently causing tests to fail.  I haven't tried anything with shared objects or flashvars but my assumption is that they should work correctly, but anything that depends on the browser has the potential not to.
As far as your testing management goes, I would discuss with them the problem context FlexUnit4 hopes to solve.  The framework is intended to produce unit and integration tests.  Functional testing is not withing the scope of the library.  Although, it's technically feasible to write integration tests which will exercise components similarly to a functional test, tools such as FlexMonkey, Selenium Flex, QTP, etc are much better geared towards this problem domain.  Test recording and playback, using these tools, is typically done using the FP browser plugin and is much easier to use by most QA and testing staff.  At the end of the day, as we're testing our code using FlexUnit at a smaller granularity than that of which the user interacts with in our application.  To reliably test the applicaiton as the user would interact with it requires additional tooling and a different type of testing.
Like I said, just my take, maybe some of the other guys can help as well.

Similar Messages

  • Has anyone tried to sync photos with the cable to itunes rather than how it should work via Wifi with iCloud?  The info on the Apple support page says that you should backup to both iTunes & iCloud, but 2x the Genius Bar told me not to.  Help please!

    Has anyone tried syncing their photos to iTunes with the cable in addition to how it should work via wi-fi on iCloud?  On the Apple support info page, it says you should do both types oof backup. The Genius Bar told me 2x not to do both.  What experiences has the community had?  I'm also having syncing issues with photos most recently as well as contact updates.  (I have an iPhone 4S with the iOS7.1)  Thanks much!

    It sounds like you are mixing up several different things (or not using the terminology that Apple uses).
    One thing is backup. You can backup via icloud or via iTunes and there is no reason you cannot do both -- I do and the second link below from Apple gives instructions. Doing a backup will include photos from the Camera Roll in the backup but you will not be able to see the results -- all of the backup data will be stored on iCloud or on your computer in files that are not designed to be accessed by you for any purpose other than restoring to your phone in the event of a problem. More information on backup:
    http://support.apple.com/kb/HT1766
    http://support.apple.com/kb/HT5262
    If you simply want to transfer photos from an iPhone to a computer, the terminology Apple uses for that is "import" and it is done without iTunes. New photos (taken after you change the setting) can be done via PhotoStream which is a cloud based option. The other option is via cable. Instructions for both: http://support.apple.com/kb/ht4083
    Syncing via iTunes (with regard to photos) is used to transfer photos the other direction -- from the computer to the phone. Instructions for that http://support.apple.com/kb/HT4236

  • How can I use the database default time rather than Java supplied time

    I've searched over and over and nobody seems to have this issue so maybe its just me!
    When inserting a record I would like the a create_date column to automatically use the database time rather than a supplied time via JPA. That was all times a relative to the database which makes sense.
    The trouble is I cant figure out how to do this in a sensible manor.
    If I specify an column like :
         @Temporal(TemporalType.TIMESTAMP)
         @Column(name = "CREATE_DATE")
         private Date createDate;
    and IDL
    CREATE_DATE TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_DATE NOT NULL
    If I leave createDate null I get an exception. If modify the column to allow Nullable then column is set as Null.
    If I leave the column out of the entity bean and then and create a row then the database current time is inserted. The trouble then is that if I want to read the date I'm going to have to create a copy of the bean but with the CREATE_DATE in it, and this doesn't make sense.

    I should also mention that TopLink has always supported the ability to retrieve the current time from the database for use in optimistic locking. The TimestampLockingPolicy offers the ability to configure the next value being retrieved from the database instead of using the local time from the JVM. Our extended optimistic locking configuration does not currently support setting this option but it could be done using a descriptor customizer which can be configured in your persistence unit properties.
    Using optimistic locking may be a good solution for the last modified date since it will also ensure that you do not corrupt the database if someone else has incremented this value since your last read.
    Doug

  • How do i get the song to display rather than the clock?

    i have a new 80gig iPod classic. when the music is playing, once the backlight goes off, the song title disappears and a digital clock appears. how do i keep the song title in the screen without keeping the backlight on all of the time?

    Thanks. Let's hope it stores the status of the countless check boxes and radio buttons as I have a couple more feedback ideas in the works .

  • How do I get the Adobe Flash Player 10 to Work (Windows XP SP3)?

    I am a Premiere Elements user who occasionally exports the Timeline to Adobe Flash Video (.flv). And, occasionally I convert the .flv export to .swf with a free .flv to .swf converter. An installed Macromedia Flash Player 8.0 successfully plays back the .swf, and an installed Adobe Media Player 1.7 successfully plays back the .flv.
    Right or wrong I got the idea that the Macromedia Flash Player 8.0 was really a very old version of what is now the Adobe Flash Player. So, I decided it was time to update the Macromedia Flash Player 8.0 to Adobe Flash Player 10. At this point, I have the following installed on my Windows XP SP3 computer via Adobe downloads:
    Adobe Flash player 10 Active X
    Adobe Flash player 10
    Adobe Shockwave Player 11.5
    The Adobe web site verification tells me that as well as the computer Control Panel Add/Remove program list.
    But, no matter what I do, .flv insists on opening only with the Adobe Media Player 1.7 and the .swf only with the Macromedia Flash Player 8.0.
    I have tried
    a. browsing to another Open With choice
    b. changing file association in folder options as well as a few uninstalls/reinstalls and have been unsuccessful in these attempts. At one point I thought that maybe uninstalling the Macromedia Flash Player 8.0 would be an approach, but I cannot find it to uninstall it. I have looked in Program Files, Documents and Settings/Application Data, Local Drive/Windows/System32, tried the computer Search...all with no luck. My browsers are Internet Explorer 6 and Firefox 2.0.0.20. The default browser is Firefox and all the appropriate "allows" are in place.
    If anyone could point out the errors of my ways, I would appreciate it.
    ATR

    I have resolved the issues presented without having to find and uninstall the Macromedia Flash Player 8.0 in order to get "Adobe Flash Player 10" playback of .swf files on my computer. When I begin this task, I expected to download an "Adobe Flash Player 10" as a player program download instead of the Internet Explorer and Firefox plugin that it appears to be.
    This is what I did and what I believe I have:
    1. I setup Internet Explorer 6 as my default browser and then used the following site to download Adobe Flash Player 10
    http://www.adobe.com/products/flashplayer/
    2. As I had done before (and also suggested in another thread here), I went to Tools/Manage Add Ons and found Shockwave Flash Object, highlighted it, and clicked on Update Active X. Next, what I did not do before, I restarted the computer immediately after that.
    3. Next, I set Mozilla Firefox as my default browser and then used the above site to download Adobe Flash Player 10 again.
    4. With Firefox, the critical step included Firefox Tools/Options/Content with File Types (Configure how Firefox handles certain types of files) and the Manage Tab there. SWF Shockware Flash Object/Change Action/and dotting "use this plugin" - Shockwave Flash, followed by a computer restart got the job done.
    Now, if I want playback of a .swf file, I can
    a. Open With Internet Explorer (assumed with the Adobe Flash 10 "plugin")
    b. Open With Mozilla Firefox (assumed with the Adobe Flash 10 "plugin")
    c. Open With Macromedia Flash Player 8.0
    I am satisfied with those results for my use. Any additional comments on the player vs plugin aspect of the matter would be interesting and helpful.
    ATR

  • I am getting this error message when I open Safari.  How do I make it go away?  "Error Safari 6.0 (v8536.25) has not been tested with the plugin SplashId.bundle (null) (v6.0.4(.  As a precaution, it has not been loaded.  ?

    Error
    When I launch Safari on my MacBook Pro
    Safari 6.0 (v8536.25) has not been tested with the plugin SplashId.bundle (null) (v6.0.4(.  As a precaution, it has not been loaded.  Please contact the plugin developer for further information.
    I am getting this message when I open Safari.  How do I make it go away?
    Thanks, Ed Williams

    To Remove plug-in
    1.) Open the SplashID desktop app
    2.) Navigate from Menu bar "File" -> "Plugin for Safari" -> "Uninstall".
    I could not find it in either Library/Internet Plug-ins nor ~/Library/Internet Plug-ins as others have suggested.
    Cheers!

  • How to stop an error message that pops up every time I open Safari. It reads...Safari 5.1 (v6534.50) has not been tested with the plugin PithHelmet .As a precaution, it has not been loaded. Please contact the plugin developer.

    How do I stop this error message from popping up every time I start up Safari ?
    Error message reads...
    Safari 5.1 (v6534.50) has not been tested with the plugin Pithhelmet 3.0b6 (v 3006)
    As a precaution, it has not been loaded. Please contact the plugin developer.
    I have removed every trace of Pithhelmet, (via spotlight)
    Trashed the preferences for Safari, restarted computer to no avail.
    It just  keeps keepin on.
    Thanks

    In the past I was able to bypass the message by editing the Info.plist file and updating the MaxBundleVersion variable, but not so this time around. As of today the developer seems to indicate there's no immediate fix becuase of how Safari 5.1 handles multiprocess page rendering. Probably best to stay tuned to Mike's website for now.

  • Ibooks author, how do I get the standard book pages background into my document. I have published one book so far which does not display with a book pages background or options for font size.

    ibooks author, how do I get the standard book pages background into my document. I have published one book so far which does not display with a book pages background or options for font size.

    No on the book title, no problem there.
    The issue is: my book pages appear as on white paper, no background that resembles a open book and also no option to change fonts. The book was created in iBooks author, there was a problem going with the "Publish" menu route so I was instructed my Apple to "export" the file and submit that. I think that's the problem after reading that iBooks author is a hybrid epub file.
    Thanks for getting back to me.

  • How to stream with the player strobe media playback videos using http dynamic streaming?

    Hi..
    please could i have some help about the player strobe media playback?
    i would like to know how to stream with the player strobe media playback videos using http dynamic streaming.
    I have already installed the server,i put my own video in the video on demand folder.i downloaded the player but i don't know how to stream that video with the adobe protocol dynamic streaming.

    http://osmf.org/configurator/fmp/
    Use this configurator, and use the same code it generates with your strobemediaplayback.swf
    Also make sure the domain where strobemediaplayback.swf is being called from and resides, is in your /webroot/crossdomain.xml  file, or it will not work.

  • How do i get the adobe flash player so i can watch youtube videos?

    how do i get the adobe flash player so i can watch youtube videos?

    Software is always safest directly from the developer or the App Store.
    There are numerous untrustworthy 'update' sites like Cnet & Softonic, & many users won't know that one is to be trusted (so far) but not most of the others.
    Adobe make Flash Player : get it from Adobe.

  • How can i replace the standard ESS iview with my own iview

    I want to replace standard ESS addr iview with my own WD developed by ABAP
    I added the iview(my WDA) into standard ESS addr page.
    (pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.pages/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.cn/com.sap.pct.erp.ess.addr/com.sap.pct.erp.ess.addr)
    And make it visible.
    But I got this error in ESS PA addr :
    WebDynpro Exception: Application PER_ADDRESS_CN Does Not Exist
    Here is the error code :
    Error code&#65306;ICF-IE-http-c:100-u:AC_WANGFZ-l:1-s:CE1-i:SAPCE101_CE1_01-w:0-d:20070514-t:172301-v:RABAX_STATE-e:UNCAUGHT_EXCEPTION
    So , how can i replace the standard ESS iview with my own iview?
    Thanks

    Can you see any Javascript EPCF code in the old iView  ?  You are surely just going to have to find it  (if our hunch is correct) and analyse it and copy it into your new iView so that it functions in some way that at least does not error

  • How do you download the latest flash player to your iPad

    How do you download the latest flash player to your iPad

    Adobe has not made a version of Flash for the iPad.
    Kappy explains why. https://discussions.apple.com/message/19446567#19446567
    Skyfire and Puffin are alt. browsers
    5 Flash Player Alternatives
    http://www.techshout.com/features/2011/01/flash-player-for-ipad-apps/
    Top 4 browsers supports flash player on iPad and iPhone
    http://mashtips.com/flash-player-ios/

  • Safari 7 has some pictures grayed out with the word FLASH in the middle. How do I fix?

    safari 7.0.2 has some (not all) pictures grayed out with the word FLASH in the middle. How do I fix?

    If you click on them, does anything happen ?.
    You may have the clicktoflash extension installed : check Safari menu - Preferences - Extensions

  • How to deal with the depth testing of Iterator Patch?

    Recently I use Iterator Path to make my effect. I met some problem. I couldn't deal with the Sprite depth testing. I found it useless to set depth testing of the Sprite Patch. And also I don't know how to deal with the layer of the subpatch in Iterator.

    rp0428 wrote:
    All you can do is remove any reference to it:
    myGame = null;If that was the last reference then it will be eligible for garbage collection and it MAY be collected.And note that there's rarely a good reason to do this. In most cases, simply letting things go out of scope when the method that uses them ends is sufficient. About the only time you need to explicitly set something to null like this is, for example, if you're implementing a collection class and you want to remove an entry.

  • With the latest flash update and on firefox 13 when I scroll on pages with youtube videos or other flash content it become corrupted.

    When I actually play the videos it's fine, the issue only occurs with still images. This doesn't show up with vimeo videos.
    The images should explain more
    Before scrolling
    http://i.imgur.com/MzAs7.jpg
    After
    [IMG]http://i.imgur.com/2tZwm.jpg[/IMG]
    This does not occur with other browsers with the latest flash update.
    The problem also shows up even with add-ons disabled and testing it with a new profile.
    Does anybody have an idea with how to fix this, or is it a problem on adobe's end?

    I've fixed the problem by installing the older version of Flash Player (v11.2.202.235).
    - First, download the uninstaller from [http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html here].
    - Close your browser(s).
    - Run uninstaller and remove flash player.
    - After the uninstall process, download and install the old version from [http://www.oldapps.com/flash_player.php here].
    Note: Download "Adobe Flash Player 11.2.202.235 (Non-IE)" if you are using 32 bit OS
    Or
    Download "Adobe Flash Player 11.2.202.235 (x64) (Non-IE)" for 64 bit OS.

Maybe you are looking for

  • Error While Running a ADF Page from JDeveloper

    Hi I am facing the following problem while running a page from JDeveloper 11g please find the below stack trace and help me in fixing this IntegratedWebLogicServer startup time: 181886 ms. IntegratedWebLogicServer started. [Running application TestAp

  • Error message when opening flex table graphic

    Hello, we're currently implementing our business processes in our CRM 7.0 SP3. This message is about an issue in the area the flex table graphics. When trying to display it, error message "Error while loading data. Graphic is reset to its initial sta

  • Where is the email address stored in the com.microsoft.outlook.plist file ?

    I had a customer with approximately 600 Mac users who changed their email domain. The email address field in Preferences>Accounts shows the old email address. We need to change that to reflect the new email address. I'd like to know where in the plis

  • Cannot tag folders or old files in Mavericks

    I am trying to use the new Tags to organize my documents.  The only file I can currently tag is a new PDF created today.  All my old files pre-Mavericks cannot be tagged.  I've tried using Get Info window but tags do not drop down.  Also new Edit Tag

  • Clock UI control and daylight saving time.

    Hi, We have a customer that has several sites around the world. In a VC-model I like to use the Clock UI control to display the times of the different sites. This can be done by setting the ‘time zone’ in the control properties. A long ago we have in