Sie sind auf Seite 1von 5

Flex Testing with RFT 8.6.

Problem Statement:

Steps1: Compile the application with the automation libraries with Adobe Flash Builder Tool with
followings compiler arguments:
-include-libraries "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
Bit)\sdks\4.6.0\frameworks\libs\automation\automation.swc"
"C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
Bit)\sdks\4.6.0\frameworks\libs\automation\automation_agent.swc"
"C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
Bit)\sdks\4.6.0\frameworks\libs\automation\automation_dmv.swc"
"C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
Bit)\sdks\4.6.0\frameworks\libs\automation\rftFlex4.5.swc"
"C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
Bit)\sdks\4.6.0\frameworks\libs\automation\rftProp_Flex4.5.swc"

Step2: Open the fpweb.swf file from the local folder in IE browser to verify that application has
been compiled with RFT automation agent. Below error message confirm that fpweb.swf has been
enabled for automation.

IGATE Sensitive

Step3: Verify that Browser enablement test is passed for Internet Explorer in RFT.

Step4: Verify that Java Environment test passes in RFT.


Step5: Verify that following settings are done:
Add the Flex Application Under Test to the Flash trusted directory, using the following steps:
Create a folder named FlashPlayerTrust in %WINDIR%\system32\Macromed\Flash .
Create a file named Flex, without any extension in the FlashPlayerTrust folder created above.
Type the directory path of the Flex application in the Flex file created above. For example, if the Flex
application is in the "C:\Test" directory, type the path in the Flex file as C:\Test
Save the file.
Step 6: Configure Internet Explorer as follows:
a) Add the Flex application's URL to Local Intranet zone...
Go to the Tools > Internet Options
Go to the Security tab.
Select Local Intranet zone.
Click on Sites > Advanced buttons.
In Add this website to the zone field, enter the URL of the Flex application.
Click Add and then click OK.

IGATE Sensitive

b) Allow ActiveX controls...


Select Local Intranet zone
Click Custom Level.
In the Reset to: dropdown select Medium-low.
In the Settings pane select Enable for Initialize and script ActiveX controls not marked as safe for
scripting
Click OK and then OK again to save the security settings and close the Internet Options window
c) Enable third party browser extensions
Go to the Tools > Internet Options
Go to the Advanced tab.
Check the Enable third party browser extensions checkbox.

Step7: Verify that local directory path as added in Flash Player Global settings as below.

IGATE Sensitive

Step8: Add the fpweb.html application to test in RFT configuration wizard as below:

Step9: Start recording in RFT and open the application through recording wizard as below:

IGATE Sensitive

Step10: IE display the below message. Click on Yes button.

Problem: RFT does not record the flex objects.


Also, When the application is loaded in browser. Process explorer displays that RFTFlexPlugin.dll is
not loaded in browser which should be loaded in browser.

IGATE Sensitive

Das könnte Ihnen auch gefallen