Flex :: Automate Testing Of Application?

Mar 25, 2011

I want to automate testing of flex application. I have heard that Flex provides with classes that help you automate the testing. But I don't know where to find them and how to use them.

View 3 Replies


Similar Posts:


Flash :: Automate Testing In Flex?

Mar 25, 2011

Possible Duplicate: automate testing in Flex I want to automate testing of flex application. I have heard that Flex provides with classes that help you automate the testing. But I don't know where to find them and how to use them.

View 1 Replies

Flash :: Automate Testing Of A Website, Major Parts Of Which Are In Flex?

Oct 7, 2011

I'm looking for a good solution to automate testing of a website, major parts of which are in flash/flex.

The preferred language is c#, but I wouldn't mind java, python or php if the solution on any of those languages is better (meaning, easier to write on, less bugs and more tutorials and samples).

What is the best framework around for flash automation in my case?

View 1 Replies

Professional :: Automate Testing Of Various UI Navigation

Jan 31, 2010

I have a website , which uses rich flashes . I want to automate the testing of various UI navigation/features - so that for each build/release , I can quickly validate the integrity of UI with these tests. I do not want to do the unit testing of action script APIs , instead I want to simulate the user events and assert the response against the known good results. I tried with Selenium, [URL] but if fails to record/recongnize the events fired in the flash component. Is there any tool (preferable Java based) available?

View 1 Replies

Ruby :: Any Way To Automate Testing Of Flash Within Webpages?

Sep 15, 2011

I am attempting to test several web pages built in Flex, and need to automate clicking on several videos through the Flash interface. I'm using Ruby and Watir-Webdriver, but I'm not sure how to interact with Flash using them.

View 1 Replies

ActionScript 2.0 :: Automate Testing And Mouse Events On Precompiled SWFs?

Sep 2, 2010

Scenario: A compiled swf. It has lots of button interactions. We want to automate the testing of these buttons by triggering events in the SWF. There is no localConnection method we can use. Is there any way to sift through a SWF and check for hasEventListener or willTrigger flags and then manually, through code, trigger events?

An actionscript way? or is there some kind of other non-Adobe application (maybe a browser plug-in) that can do this? Is there some kind of automated SWF testing app out there already? We've got 100's of SWFs that we don't have access to the code to but we need to check for bugs, and instead of having someone sit there and repeatively click buttons in the swf, we'd like to set up some kind of way where all eventListeners (or at least specific ones) are found and then triggered upon intervals.

View 3 Replies

Flex :: Testing - Null Object Reference With Automation Enabled Flex-application At Preloader?

Jun 10, 2010

We are trying to automate our flex application. After adding automation libraries to our project we get the following exception:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.automation::AutomationManager$/addDelegates()
at mx.automation::AutomationManager$/addDelegates()
at mx.automation::AutomationManager$/addDelegates()

[code].....

We are using Flex 3.4 and maven2 to build the application.

View 2 Replies

Flex :: Unit Testing Puremvc Based Application?

Jul 10, 2010

I have a flex application written using PureMVC framework.Now,I want to write tests.We are using FlashBuilder 4.Is FlexUnit sufficient for testing? Are there any issues you have faced while writing tests?

View 1 Replies

Flex :: Compare QTP / RIATest / Selenium For Application Automation Testing

Dec 4, 2009

which tool should i use QTP, RIATest , Selenium for Flex Application Functional Automation Testing. please help me compare them with different advantages and disadvantages.

View 6 Replies

Javascript :: Using Greasemonkey Script To Automate Flash Application?

Dec 10, 2010

Is there way to simulate click on a flash application using Greasemonkey script? I need to test a flash app with lot of permutations and combinations. Traditional approach of using ExternalInterface wont work because it is too cumbersome to add the callback.

View 1 Replies

ActionScript 3.0 :: Automate Key Press Event In Mobile Application?

Jul 6, 2010

I want to know how to automate a key press event in a mobile application (Flash Lite). i.e. the key press event should get emitted automatically without pressing the mobile key manually.

View 0 Replies

ActionScript 2.0 :: Automate Key Press Event In Mobile Application?

Jul 7, 2010

I want to know how to automate a key press event in a mobile application (Flash Lite). i.e. the key press event should get emitted automatically without pressing the mobile key manually.

View 0 Replies

Flex :: Possible To Automate Font Embedding

Aug 5, 2010

I've searched high and low for an answer and it might be a foolish endeavour but i'd like to be able to read fonts from a directory at runtime for use in an actionscript/flex app.Ive seen the answers on the web and all rely on putting fonts in external swfs and certainly rely on embed meta tags or styles when i'd like a local fonts directory to be able to be used, its not too user friendly asking a user to compile their own swfs to use the app.The only answer I can see is to have a server running mxmlc and creating .mxml files with embed tags every time a user wants to update their fonts and recompiling the app when needed but its a bit much.

View 1 Replies

Flex :: Use Ant Tasks To Automate Building Of App?

Nov 8, 2010

I know I can use a combination of ant & flex ant tasks for automating builds. However, I'm unclear on how to compile all the mxml and actionscript files of an app. For example, does the build file below compile just the Main.xml file or all files in the app?

[Code]...

View 2 Replies

Flex :: Ant - Automate The Building Of A Component Library?

Sep 8, 2009

I would like to build a flex library project automatically instead of the current process, which involves one of our developers compiling it on his machine and then us checking in the resulting .swc file. It's gross. I am coming at this from the perspective of a java developer, so I'm having a hard time getting the hang of the compilation tools provided in the Flex Builder 3 application, but here's what I already have: I have created an ant file that loads the ant task library correctly, and can therefore execute <mxmlc/> and <compc/> tasks.

I have located the source code that I need to build, and know what sort of .swc I want to end up with. What I want is an ant script that will do the equivalent of these steps: We build all sources (actionscript and MXML) and assets in the project into an swc file. The library.swf file is extracted and optimized

[Code]...

View 3 Replies

Flex :: Can't Automate Some Objects Which Uses Degrafa Libraries

Jun 15, 2011

In our application ,we have diagrams which make useof degrafa libraries.When this application is automated with flexmonkey any operation done on these diagrams are not recorded nor played back.

Rest of the application like filling the textfield and dropdown are working fine.

Is there any way I could automate these degrafa diagrams like clicking on it or changing the description.

View 1 Replies

ActionScript 2.0 :: Testing A Function Is Complete Or Testing 2 Tweens Have Finished

Feb 2, 2011

I basically need to scale an object up when the user rollsover the button which I have created dynamically already and I need to make sure the object is fully scaled up before I can allow the user to scale it back down again.Ive tried putting 2 tweens (x and yscale) into a function but not sure how to check if the tweens have finished. Im assuming if I check the function is complete it wont take into consideration the tweens may still be running.

View 0 Replies

Flex :: Make Testing Process Automatic Flex Release?

Mar 31, 2011

I posted the same question but I think it was not so clear. Now I am rephrasing my question with real problem.I have a flex application. It is basically a web application. On it I have a player that play avi files and some buttons and tabs along side.The application also have recording button that records that direct stream from an IP cam and store that stream on the media (USB). How can I automate function testing of such application. Like I have confusion that when I press the recording button but can I be sure that recording starts? I have tried RIATest and flexUnit 4.

View 2 Replies

Flex UI Testing Automation?

Oct 14, 2010

We have a flex based UI whose functionality (eg: login, logout) needs to be tested periodically in IE 7. Manual testing takes a lot of time and hence we want to automate it EDIT: We dont have the source code of this app uder test so cannot use something like FlexUnit. Is there a way to automate this testing?

I have heard of FleXmonkey, but have read negative reviews of it and hence wary of trying it.

[Code]...

View 4 Replies

ActionScript 3 :: Testing And Mocking With Flex

Dec 16, 2009

I am developing a "dumb" front-end, it's an AIR application that interacts with a "smart" LiveCycle server. There are currently about 20 request & response pairs for the application. For many reasons (testing, developing outside the corporate network, etc), we have several XML files of fake data, and if a certain configuration flag is set, the files are loaded, a specific file is parsed and used to create a mock response. Each XML file is a set of responses for different situation, all internally consistent. We currently have about 10 XML files, each corresponding to different situation we can run into.

This is probably going to grow to 30-50 XML files. The current system was developed by me during one of those 90-hour-week release cycles, when we were under duress because LiveCycle was down again and we had a deadline to meet. Most of the minor crap has been cleaned up. The fake data is in an object called FakeData, with properties like customerType1:XML, customerType2:XML, overdueCustomer1:XML, etc. Then in the FakeData constructor, all of the properties are set like this:

customerType1:XML = FileUtil.loadXML(File.applicationDirectory.resolvePath("fakeData/customerType1.xml");

And whenever you need some fake data (this happens in special FakeDelegates that extend the real LiveCycle Delegates), you get it from an instance of FakeData. This is awful, for many reasons, but it works. One embarrassing part is that every time you create an instance of FakeData, it reloads all the XML files. If there's a design pattern that is not Singleton that can handle this more elegantly. The constraints are:

No global instances can be required (currently, all the code dealing with the fake data, including the fake delegates, is pulled out of production builds without any side-effects, and it needs to stay that way). This puts the Factory pattern out of the running. It can handle multiple objects using the XML data without performance issues. The XML files are read centrally so that the other code doesn't have to know where the XML files are, and so some preprocessing can be done (like creating a map of certain tag values and the associated XML file).

View 2 Replies

Flex :: Testing - QTP Can Not Recognize The Object?

Apr 5, 2011

I am using Quicktest professional 11 trial version. I have a flex application for testing. When I try to record action performed on the flex application. QTP stores it as MacroMediaFlashPlayerActiveX rather than the origin button or link. I am using flex 3.5.0 and internet explorer 7.

View 1 Replies

Flex :: Unit Testing Event Handlers

Jul 24, 2009

What methods do you use to unit test event handlers, particularly if they require information from the event (such as mouse coordinates, or the target of the event)? Is the most common practice to just refactor the behavior into a method that does the lifting while the handler just extracts information from the event, or are there effective ways to simulate event dispatch in FlexUnit or Fluint?

View 1 Replies

Windows :: Flex - Testing To See If A Window Is Maximized?

Aug 5, 2009

I noticed that in Windows, if you maximize a window you can not resize it until you un-maximized it again. This appears to be a normal behaviour, so I would like to remove my resize gripper when the window is maximised.At the moment I can't find a property to detect if a window is maximized, and although I could add a boolean in my controller, it wouldn't necessarily catch requests to maximize from the OS.So if you know of a reliable way to test if a window is maximized please let me know.On a related note, I am using custom chrome, and when I maximize a window it overlaps the windows task bar. I can think of hacks to detect available screen size (using a transparent system chrome window), but it would be good to know of a better method.

View 7 Replies

Flex :: Automated Testing Without Static AutomationIDs

Aug 5, 2009

testing a Flex app without static Automation IDs attached to components? All of the elements in the apps are generated .....

We've investigated FlexMonkey but it appears to be incompatible with any app that utilizes the ExternalInterface. RIATest's scripting language leaves much to be desired...

View 4 Replies

Actionscript 3 :: Flex Collision Testing With HitTestObject

Aug 14, 2009

I'm trying to test clipping on two canvases. Both canvases are 100px wide. They're 20px apart. I've placed a label inside one and made it 200px wide. Scroll bars will show up on the canvas. When I don't have the label inside and use hitTestObject it returns false. When I place the label inside it returns true. Is there any way to alter the canvas with the label inside so that it doesn't expand to the width of the label?

[Code]...

View 1 Replies

Flex :: Use One Service Definition For Testing And Another For Deployment With Builder?

Sep 22, 2009

I would like to use different service definitions in a Flex app depending on whether I'm running on:

My local developer machine
The test tier
The QA tier
The production tier

My services are all AMFPHP remote objects, living on different hosts and at different locations depending on which tier I'm on. How can I have my flex app choose the 'correct' tier at runtime to connect to?

View 2 Replies

Flex :: Auto-mated Acceptance Testing Tools?

Jan 11, 2010

I am looking for recommendations for tools for automated testing of a web application with some flex components.To provide some background we have a web application that was entirely developed in AJAX+HTML and we were somewhat successful in using Selenium for testing that application end to end. We recently added some flex components into the mix and it got complicated. We tried using Selenium Flex but we are disappointed with what it can do. So now we are looking for some alternatives. Ideally the tool would be able to drive both the web and the flex parts simultaneously, but we can also settle for just testing the flex components on their own. We prefer open source but good commercial tool is also an option.

View 4 Replies

Flex :: Flashplayer Processes Not Closing When Testing In Flashbuilder?

Jul 28, 2010

Having this new problem with flash builder where I run a debug flashplayer, close out the flash and it doesn't always kill the process. Sometimes it does sometimes it doesn't, leaving me, after a while, having 10 or more flashplayer tabs on windows still open. I try to close them using the task manager with no luck.

View 1 Replies

Flex :: Link To Project On Localhost For Testing Purposes?

Mar 8, 2011

I've got a Flex 3 website. I've got a bug in my deep linking. For some reason, if another site links to my site, it shows the main content instead of the specific bit that should be show. So, if the link is for [url]...

I'd rather not debug this problem on the production server. Is there a way to make a page on my localhost with a link to my Flex project on my localhost?Link to Project on Localhost for Testing Purposes?

View 2 Replies

Flex :: Adobe AIR Application To Receive Back Events From Native Windows Application?

Oct 8, 2010

I'm trying to develop a simple mxml Flex application to start Skype from the AIR/Flashplayer runtime. Is it possible to get back events from a native Windows application? In the simple example of Skype, the OS returns control to the Flex app when Skype exits. But what about native applications which have their own event model and wants to communicate with the Flex event model. For example, a Face detection system which shows "Hello" on a Flex app when the camera detects a face. Can this be done in the current Flex framework?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved