Quantcast
Browsing latest articles
Browse All 104 View Live

Re: flexunit breaks when using -load-config

you can. the other thing you can do is make a separate regular project and add the tests in the library project as an additional source path to the project. that is what i generally do

View Article


flexunit stage null reference

I am trying to test some of my AS classes in flexunit.  Some of the methods reference the stage from components that are passed to it. When I set up the flexunit testing application I use the following...

View Article


Re: flexunit stage null reference

What is the object that 'this' refers to? Does that code exist on the main sprite, somewhere else? Glad to help just need a bit more info,Mike

View Article

Re: flexunit stage null reference

The previous code is in the creationComplete event function for my test runner. (I used the flexunit 4.1 turnkey example) The "this" is the runner application. Then in the test I would have:...

View Article

Re: flexunit stage null reference

Okay, a few things. If you are using Flex, you don't need to set the visualDisplayRoot. That is for ActionScript only projects. Second, display objects in Flash don't have access to the stage until...

View Article


How to use TestRunnerBase in pure AS3 / no MXML

Hi,is there a way to use the testRunnerBase GUI for a pure AS3 project, without a mxml? Thank you

View Article

Re: How to use TestRunnerBase in pure AS3 / no MXML

Hi, the testRunnerBase is a Flex application, so you can't use it in a pure AS3 environment without including all of the Flex dependencies.

View Article

Sequence Runner and Signals

I've got a unit test where I want to test reading from a local sqlite database.  Obviously I need to write a record before I can read it.  I've written the sequence below but I'm getting an...

View Article


Re: Sequence Runner and Signals

Oh I'm using FlashBuilder 4.5.

View Article


Flash Builder "unknow FLex SDK Flex Hero" problem(urgent)

Dear all, I developed my mobile andriod game in the flash builder burrito and suddenly I can't open it because of this error "Licensing for this product has expired"so I installed  flash builder 4.5...

View Article

Re: Flash Builder "unknow FLex SDK Flex Hero" problem(urgent)

This question is probably better asked it the Flash Builder forum. However, my guess is that in the beta the installed SDK was called "Flex Hero" and in compiler settings for your project its set to...

View Article

Re: Flash Builder "unknow FLex SDK Flex Hero" problem(urgent)

Thanks Simeon Bateman! For all those who also trying to migrate for the Flashbuilder 4.5 here is the reference based on my experienced.After I did all these following steps it is working fine: *Changed...

View Article

Testing Application Components

I'm not sure if you are aware, but it is currently very difficult to test spark Application components using FlexUnit and the UIImpersonator. An application component can't simply be added to...

View Article


Re: Sequence Runner and Signals

Rather than using Signals, why don't you just nest your Sequences that you want to run? Something like this: var sr1:SequenceRunner=new SequenceRunner(this);var sr2:SequenceRunner=new...

View Article

Re: Testing Application Components

Which version of FlexUnit are you using? As of 4.1 we allowed the interface to have an addElement() which accepts spark components just like the Spark Application? Mike

View Article


Re: Testing Application Components

I might be running an older version since we're still using flashbuilder 4. Is there any way to update the flexunit libraries that flashbuilder uses?

View Article

Re: Testing Application Components

Its a little convoluted in Flash Builder 4, so what I would suggest first instead is that you just add the FlexUnit 4.1 swc to your library path of your test project. It should trump the existing...

View Article


Re: Testing Application Components

No luck there. Unfortnately, we are displaying our tests using org.flexunit.flexui.TestRunnerBase.mxml which is based on a flex3 component. When I try to run my tests it's throwing an error saying that...

View Article

Re: Testing Application Components

Its okay that it is based on flex 3 components, it would just need to be compiled with the Flex 4 SDK or you need to wait until the next release of FlexUnit to make it cleaner. In the 4.1 release we...

View Article

Re: Testing Application Components

I will see if we can accelerate any of this in a dot release.

View Article

Re: Testing Application Components

So addElement() is not usable in the current release version? My project is compiled with flex 4.5 so I don;t think thats the issue here. Also, even if addElement did work, it would still be better to...

View Article


Re: Testing Application Components

Yes, it is completely usable. How it works is that FlexUnit tries to see if there is a mx.core.Container linked into your project. If there is, it uses that as the basis for the UIImpersonator. If...

View Article


Image may be NSFW.
Clik here to view.

Can't run unit test with "Execute FlexUnit Tests" in the FB4

Hi folks:     I create some unit tests in my project,the test.swf execute correctly if I compile them and run it by ant.But once i ran every single file by "Execute FlexUnit Tests" in my IDE,I found...

View Article

Help in FLEX testing

Hi      I am a newnbie in this testing field I have been given a task to test FLEX. So I expect a great amount of help from you all.

View Article

Absolute path to E:\Hudson in org.flexunit.assert() etc

Hi there, I'm attempting to use flexrunner in a linux project. So far everything has been smoothly, thanks. Just pached my SDK vith linux air 2.6 runtimes and ran (a slightly modified) demo project. It...

View Article


Testing ActionScript classes with native methods?

Hi, I have an ActionScript class that I'm writing and would like to test using FlexUnit.The only issue is that the ActionScript class has a member in it that is a class with native methods. So, I get...

View Article

Loading a swf from flex builder

Hi Everyone, Hi have a project, in which three technologies are used :1.) Action Script 3.02.) Adobe Flex3.) Java I want to know how do i load the swf file since i have various swf file in .fla file....

View Article

FlexUnit tests fail due to missing sound card on headless CI server

Hi,  I have set up Jenkins CI server with Xvnc to run FlexUnit tests during the build process.  Everything worked fine until I started working with Sound - now Flash Player is started, throws a bunch...

View Article

Re: FlexUnit tests fail due to missing sound card on headless CI server

We have the exact same problem.  Did you try to fake sound card? http://serverfault.com/questions/166542/how-to-create-fake-sound-card-on-linux-server

View Article



CIListener implementation details

After reading the code of CIListener, I have a question about how it works. As far as I'm aware,  code snippet is following:socket = new XMLSocket ();socket.connect( "127.0.0.1", 1024 );Does it means...

View Article

Status of Code Coverage in FlexUnit?

Just curious if there is any update on this thread from almost a year ago: http://forums.adobe.com/message/2994338 We would really, really, really like to generate Cobertura-style reports from our...

View Article

Develop BLOGGER POSTING (Android Application)

Hi, everybody ..I want to ask you some questions about FLEX.I tried to create applications for mobile devices (Android, IOS) which allows users to make posts on their blogs, especially on...

View Article

Alert.show() error in PMD

I am using PMD tool for testing my Flex application. The Alert statements are throwing errors while checking with this tool. Kindly let me know what statements are to be used in place of Alert.show().

View Article


help me to fix it in simple way

Flex Error #1001: Digest mismatch with RSL http://www.babblesex.com/assets/26d8d138/flexapp/framework_3.5.0.12683.swf. Redeploy the matching RSL or relink your application with the matching library.

View Article

Merging of code coverage reports

1)     Is it possible to merge 2 coverage reports(.ascc)? 2)     Is it possbile to overwrite/append the imported report into coverage plugin?

View Article

Re: Status of Code Coverage in FlexUnit?

Little late to the game, but maybe this link will help:http://code.google.com/p/flexunit-with-code-coverage/ -Jason

View Article


Re: how to access stage in flexunit

I found this BDD project page, which includes a stage access example: Cuke4AS3 https://github.com/flashquartermaster/Cuke4AS3/ [EDIT]After much research and complication, I ended up using a Singleton...

View Article


Uploading File classic ASP

HiIm a new flex developer and i making an app that insert data into a db and upload a file in a path web server, but my problem is when i send to asp my archive there is no way to save on the path and...

View Article

Parametrized Tests and IRunListener issues

Hi, I'm currently working on fixing flexunit 4.1 support for Flexmojos and have run into some problems with the new Parametrized reports.In Flexmojos we usually counted the number of tests and then...

View Article

Re: Parametrized Tests and IRunListener issues

Ok well in the meanwhile I solved the problems by restructuring the flexmojos unit test support in general.

View Article

item close event is triggering twice for Advanced Data Grid

HI, I'm using AdvancedDataGrid for my project. My issue is when click on item close, the item close event is triggering twice. Why it is triggering twice? Thank you...

View Article


How can i link between two or more test cases(with 1 Test suite) using...

Hi.How can i link between two or more test cases which i have written in the following manner.private function createSuite(suiteMethod:TestSuite):TestSuite                              {...

View Article

help me in screen sharing application in flex

hii iam new to flexany one can help me in making screen sharing in flex 4.5 i tried it and i was facing  problem in connecting to room. Lccs had stoped  giving  new  account is their  any solution  for...

View Article


Flex 3 charts xfield and horizontal axis for line series

Hi, I have some queries with line series.  I am using a column chart along with line series to display data with date field on x axis.  It has a horizontal axis to plot date.  I have not set any x...

View Article

Merging Code Coverage Reports

1) Is there any way to merge the report generated by the Actionscript Coverage plugin?? (*.ascc and *.ascs files)2) Is there any way to continue the coverage from an imported report?

View Article


Image may be NSFW.
Clik here to view.

How to generate checkbox on grouping column in advanced datagrid : flex 3

This is my code .but it generate for all rows. I want checkbox for only where studyid displayed. <mx:AdvancedDataGrid id="dgList" x="10" y="342" width="1001" height="175" sortExpertMode="true"...

View Article

Image may be NSFW.
Clik here to view.

How to get the handle of the advancegrid which is present in parent file from...

Hi Guys,I want to refreh the AdvanceGrid present in one MXML so want the handle of it from 4th file how to get it...In one mxml I have a AdvancedDatagrid with in the Itemrenderer property of it ,I am...

View Article

Image may be NSFW.
Clik here to view.

Re: Why fpdownload.adobe.com/crossdomain.xml

Hi,This doesn't seem to work for me. The crossdomain call has only recently begun to appear for us, has something changed in Adobe? Is there any way to prevent it being needed? I can't understand why...

View Article

Image may be NSFW.
Clik here to view.

Re: FlexUnitTests in Flash Professional Project

Hi benschmidtke "If you are writing unit tests for Flash Pro, I'm sure you'll have no problem with it. I can send you some information on it if you are interested in pursuing this route." I know this...

View Article


Image may be NSFW.
Clik here to view.

Component in flex to render the excel.

Hello All,Is there any components of flex that render the excel in flex?  I want to render the excel with excel functions, excel formatting, excel Formulas, etc. in flex. And also wants to perform...

View Article

Browsing latest articles
Browse All 104 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>