Hi,
I am trying to automate testing of a Flex application by using the
Runtime Loading method mentioned here
<http://livedocs.adobe.com/flex/3/html/help.html?content=functest_compon\
ents2_05.html> . My application loads external swf files so I am using
following code to load my flex app with runtime loading support:
public function actionScriptFunction():void
{
var ldr:Loader = new Loader();
var urlReq:URLRequest = new
URLRequest(Application.application.parameters.automationswfurl);
var context:LoaderContext = new LoaderContext();
context.applicationDomain = ApplicationDomain.currentDomain;
ldr.load(urlReq, context);
}
But the test application does not load and there is no error either,
just blank flex page.
Please point out what I am missing here.
Thanks.