Flex :: Browser Automation To Perform Certain Task In AS3

Nov 17, 2009

I'm trying to create a Flex application that automates a web browser to perform certain tasks. I would use the application to login to a site, parse data out of the HTML, and send it to a jsp page for processing. I currently have an application written in WPF that does that exact thing, but it needs to be ported to flex.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Tell Several Objects/instances To Perform A Task?

Nov 2, 2006

Lets say you have 5 instances of a circle on the stage.Now, lets say you want to make all of the circles _x += 5;How can I do this without doing a repeat loop?Isnt there a single line command that could be used? Such as: {tell all circle objects} : _x += 5;

View 4 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

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 :: 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

Flex :: Null Object Reference With Automation Enabled App At Preloader

Jun 15, 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()
at mx.automation::AutomationManager$/addDelegates() .....

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

View 1 Replies

Actionscript 3 :: Automation Errors In Flex Builder 3 When Importing A Swc From Flash CS 5

Mar 13, 2011

I am facing a really weird issue while trying to use an "swc" file imported from Flash CS5, that I am trying to use in Flex Builder 3 (by converting symbol to "Flex Component"). The errors are coming in files which are not even remotely related to the "swc" file that i am importing. Now, I know that the automation stuff has come as a part of FB4, but I don't really have an option to migrate to FB4.I have tried to change the flex sdk settings in Flash CS5 (steps given below), but that has not helped.Edit-->Preferences-->Actionscript-->"Actionscript 3.0 Settings"-->"Flex SDK Path" (pointing this to flex3.5 sdk instead of Flex4.0 sdk)I feel that the issue is most probably a compatibility issue b/w Flex 3 and Flex 4, but have not been able to find a workaround for the same.[code]

View 2 Replies

Flex :: Security - When Deploying Flash UI Test Automation Hooks To Production?

Jan 16, 2011

I am interested in doing automated testing against a Flex based UI.I have found out that my best options for UI automation (due to being C# controllable, good licensing conditions, etc)all seem to require that I compile test hooks into my application.Because of this, I am thinking of recommending that these hooks be compiled into our build.

Warning! Automation enabled applications expose all properties of all GUI components. This makes them vulnerable to malicious use.Never make automation enabled application publicly available. Always restrict access to such applications and to RIATest Loader to trusted users only.

View 3 Replies

Flex :: Adding Runtime-library-path To Flex Build Configuration Using Ant Mxmlc Task

Feb 9, 2011

I'm trying to build a flex project, linking it to some RLSs. When setting up the project in Flex Builder, the corresponding "build configuration" (that I got by adding -dump-config to the compiler options) generates (among other things) a tag like this :

<runtime-shared-libraries>
<url>some-lib.swf</url>
<url>some-other-lib.swf</url>

[Code]....

View 2 Replies

Actionscript :: Flex WSDL As Ant Task?

Sep 8, 2009

Flex Builder 3 provides support to generate actionscipt from WSDL via the GUI ( Data->Import Web Service (WSDL) ) - but this sort of method requires that you check in the generated source. This is not desirable to us (we understand both sides of the 'should generated source be checked in' and we have decided that they should not) so we would like a method to generate the actionscript classes from an ant task. In this case, the WSDL would live in the file system.

View 2 Replies

Flex :: Building Charts With An Ant Task

Jun 1, 2009

Using the Flex ant task to build our application results in the "Flex Data Visualization Trial" watermark being displayed in our charts. We have professional licenses for flex builder but do not know how to tell the ant task about these.

View 1 Replies

Flash - Flex MXMLC Ant Task Steals The Window Focus?

Aug 5, 2010

Has anyone noticed the following behavior building Flex programs using the mxmlc ANT task (running in the background): as the MXMLC task starts, it steals the window focus from whatever application is currently running, and then gives it back again! This is extremely disruptive.Is there a way to run the MXMLC task "headless" so it doesn't interact at all with the window system?I'm running on Mac OS X (10.5.8, if that matters), and Flash 4.0.1 (although the behavior existed on 3.x as well).

View 1 Replies

ActionScript 2.0 :: Perform A "destructor" Like Action When Browser Window Is Closed?

Dec 4, 2003

I have a chat program built using flash for the front end tied to a J2EE back end. My program creates socket connections which must be closed appropriately when a user signs off.

When a user decides to sign off they can click the sign off button and everything is peachy. However, a less responsible user may choose to sign off by simply killing the browser window. Is there any way to implicitly call an actionscript routine on this event?

View 1 Replies

Flex :: Use The Mxmlc Task Of The Ant Tasks With A User-definable List Of Source Path Or Library Paths?

Jun 10, 2010

use the mxmlc task of the Flex Ant tasks with a user-definable list of source path or library paths? The idea is that the user can define an arbitrary list of source paths and/or library (swc) paths into an Ant properties file and the build file takes these values and evaluates them for use in the mxmlc task. Just wondering if there are any tricks (maybe utilizing filtering/string replacing) to get this working?

View 2 Replies

Why Flex Applications Perform Better Than Flash

May 14, 2011

When I'm making projects with Flex (or Flash Builer) the end result usually performs much better than a similar level project made with the Flash authoring tool. I know Flash IDE is rather for animations and design heavy works so you can't really compare these 2 tools, but this question is bugging me for a long time.If apps made with Flex (or Flash Builder) are really faster and less CPU intensive - why is that?

View 1 Replies

Flash :: Perform File Read Write Operation In Flex Web Application?

May 2, 2011

How to perform file read write operation on server in flex web application?

View 2 Replies

Flash Automation Using Selenium

Sep 7, 2010

I m struggling a lot to automate flash using selenium.Can any one please give me a sample flash application code (methods) and the selenium code to automate the same.

View 3 Replies

Flex :: Adobe Air: Drag Application Crash - Error #3200: Cannot Perform Operation On Closed Window

Nov 23, 2009

Now I set dragEnabled="true", dropEnabled="true" and dragMoveEnabled="true" to archive the ability to reorder my Items via Drag and Drop. But as soon as I start to Drag an Item the whole Application crashes with:

[Code]....

View 1 Replies

Test Automation Flash Base Video Player

Mar 15, 2010

I would like to test automate a flash video player (similar to YouTube player). Can you recommended tools/ methodology for it.

View 1 Replies

ActionScript 3.0 :: How To Change Task By If

Feb 7, 2012

I'm new to actionscript so I can't create task that I need.My problem is that, I can't change the task doing every frame with actionscript.let me example:

ActionScript Code:
instance_name.x += 2;
if (instance_name.x > stage.stageWidth - instance_name.width)
{
instance_name.x -= 2;
}

In this code I told flash to move the object (instance_name) 2 pixels to the right every frame. and if it arrives at the end of stage, It move 2 pixels to the left every frame. But when I test the movie, at the end of stage it wouldn't turn back and move to the left and stood still. Its because it process ( instance_name.x += 2; ) after it got out of the end of stage.

View 6 Replies

Flex :: Make A Flash Browser App That Could Receive Data From Browser Plugin Or Other Windows App?

Dec 18, 2009

in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and press Send or otherwise activate it. That's NOT what I am trying to do here in reality (i.e., no,I am not trying to spam other people's chat rooms or anything)but just an illustration of a similar situation.I can include in it whatever widget or hack that may be necessary.The reason why this problem is arising for me is that AFAIK the SDK that is providing me the data I want cannot be directly accessed from Flash, so I need a way to pipe the data from a regular app into Flash. can I have the Flash app interact with other apps through localhost IP? Or are there draconian restrictions on which server Flash in browser can and cannot interact?

View 1 Replies

Actionscript 3 - Flex / Flash - Open The Swf In A Browser Window That Doesn't Have The Browser Control Bar Or Menu?

Oct 27, 2010

The title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?

View 2 Replies

ActionScript 3.0 :: Performing Task Once The Other Has Finished

Dec 13, 2010

I have some code that I want to wait until the first step of the process is done and then do the next task. But I can't seem to think of a way to do it??The full code for the entire process is this:[code]How would I tell it to wait until the first part is done to perform the second part?

View 3 Replies

Professional :: Task Manager Priority = High?

Mar 28, 2012

How to make as3 do Task Manager priority = high? I found out that , when I was playing my game on the flashplayer.exe . I went to task manager "set priority" to high on the flashplayer and boom everything running smoothly and it was lock on 30 fps every frame.

View 1 Replies

Flash :: Catch Mxmlc Ant Task Failure?

Jul 1, 2011

I've tried using the haltonfailure="false" and failureproperty="compile.failed" but ant just throws an error when I try to run it: "The <mxmlc> type doesn't support the "haltonfailure" attribute." I need to do a little cleanup before the build script exits if the mxmlc task fails, how do I achieve this?

View 2 Replies

ActionScript 2.0 :: Complete The Audio Toggle On/off Task?

Mar 16, 2003

I used http:[url]...tutorial and made a working button to START the sound.This method is the simplest. Can't stop the sound yet.Given that tutorial, what's the simplest way to complete the audio toggle on/off task?

View 1 Replies

Flash :: Task Management, Threads And Other Foes In Builder?

May 31, 2011

I'm building a simple task manager that will at this moment execute tasks in a serial manner. I have been reading about threads in flex and it seems it is not quite clear/prepared for real threads.

What I'm looking at this moment is a way to execute a method at the beginning or end of a flash builder update. This method will be the one that will take the responsibility to start tasks added in the previous update. The removing of finished tasks will be done through event notification (the task will notify it finished) then the scheduler will remove it and dispatch the message again to let the outside world know the task was over.

[Code]...

View 1 Replies

ActionScript 3.0 :: Jobs Listing - How To Remove / Delete Task

Mar 30, 2009

I am basically creating an application that prioritizes jobs listing, so far I can assign a task priority, description. So basically once the task description and task priority is chosen, the user will click the add button, and this will be stored in the database and on the screen another mc will appear where the created priority and description assigned will be display. In the mc there will also be a delete button to remove/delete the task. What code could I use to remove the task...

So far I have typed the following
mc.task_mc.delete_btn.addEventListener(MouseEvent.CLICK, onDeleteClick);
private function onDeleteClick(e:MouseEvent):void {
}

View 4 Replies

ActionScript 3.0 :: Set A Common Task Which Is Activate / Deactivate Interactivity (clickability) Of A Button

Oct 25, 2008

I'm trying to set a common task, wich is activate/desactivate interactivity (clickability) of a button. (sometimes clickable, sometimes not). The button is a blue bowl. I use the stopPropagation() of event metod to stop propagation, then my blue bowl is not clickable anymore. (if you erase "stopPropagation()", it becomes clickable) It works.

But I want to change this statut. I've designed a ON/OFF switcher, who set the blue bowl clickability ON/OFF. And it doesn't work. I've tried everything : removeEventListener, an "if" who write "stopPropagation()" or not, but it fails, it stay on the beggining statut. Here's the very simple .fla to show you : [URL] What should be my "ON/OFF switcher" code ?

View 11 Replies

ActionScript 3.0 :: Options Bewildering - Task With Automating SWF Creation From An AVI Source (quickly)

Dec 1, 2008

I'm a complete newbie regarding Flash development, but I've been tasked with automating SWF creation from an AVI source (and quickly!). Once the SWF is finished playing it should endlessly loop from the last frame to about 5 seconds prior to the end frame. Think of a speaking character, followed by some idle movements. We want the idle movements to endlessly loop. What I've done/need to do is:

1) Automate the creation of the AVI. Done.

2) Convert the AVI to SWF (using FFmpeg). Done.

3) Write Actionscript to detect the last frame, and then jump
to some other frame.

4) Merge the SWF with the actionscript and produce a new SWF which is then placed on a website.

Being a newbie to Flash, I'm overwhelmed by the array of options out there for something so simple in concept. I'm looking for a command line solution so everything can be completely automated. My questions are: Can steps 3 & 4 be done with the FlexSDK? What would the steps be to get something like this accomplished?

View 1 Replies







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