Testing nonenabled Flex applications
Testers can test a Flex application that is not enabled for functional testing and is deployed on a web server.
About this task
Developers deploy the application on a web server and provides the URL to the testers. Testers must perform the test using the Runtime Loader component that is available with Rational® Functional Tester.
Important: If you encounter problems while the Flex application is loading using the
Runtime Loader test page, check the security settings of Internet Explorer ActiveX and
plug-ins.
To test a nonenabled Flex application:
Procedure
- Copy the compiled RunTimeLoader.swf and the RuntimeLoadingTest.html to the folder that contains the Flex application to the server.
- Open the RuntimeLoadingTest.html page in browser.
- Pass the relative path of the Flex application to be tested
as a query parameter to the HTML page. For example, type:
http://localhost/RuntimeLoadingTest.html?automationswfurl=applicationtotest.swf
, where applicationtotest.swf is the file name of the Flex application. - Start Rational® Functional Tester.
- Start testing the HTML file that contains the embedded Flex application.