Jump to content

Webbrouwser with flex app (how to automate it)


ravaoo
 Share

Recommended Posts

Hi,

Autoit made automated testing of websites posible for me. Great!

But now they want me to test an website that is build in Flex.

Surfing around in the form and on the web did not gave me a suitable solution.

Can someone provide me with a example.

what i want to do is the following:

1 Start brouwser

Open a webbrouwser

Navigate to the site with Flex embedded in the webpage

Wait for page and flex to load

2 Test the flex app.

click on butons

fill in fields

readout fields

readout messages

and so on...

Link to comment
Share on other sites

Flex creates Adobe Flash objects. The browser simply gives the Flash a piece of realestate on the page and an OBJECT tag in the HTML. There is a new feature in Flash 8 called "ExternalInterface" that is supposed to allow you to automate/communicate with Flash via Javascript (and would then work from AutoIt), but you'll need to research it... no experience here yet...

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

Thanks. I briefly looked at this solution.

I believe that i have to edit my flash to get control outsite the flash.

I am testing flash website from a thirdparty so i have no access to the flash.

If this is wrong, please tell me what to do.

Are there other solutions?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...