Adobe Flash Error on Flex based Testing

Ask general questions here.
farhanzom
Posts: 12
Joined: Mon Jul 26, 2010 12:58 pm

Adobe Flash Error on Flex based Testing

Post by farhanzom » Wed Jan 25, 2012 10:57 am

Hello,

I recently downloaded Ranorex 3 and am evaluating it for Automation implementation at my client. Most of our applications have been developed using Flex (3.2). One of my first scenarios was to simply login to the app perform some basic actions and log out. Also, One of the actions was to make some changes in data on the UI and Save. The app takes a few seconds to process and complete the Save at the backend.

Now, the issue is while recording whenever a Save is going on, just before the Save is complete an Adobe Flash error message pops up as shown below:

[RPC Fault faultString="Unable to invoke a get operation on destination 'update-notifications' due to the following error: class java.lang.ClassCastException:java.lang.Integer." faultCode="Server.Processing" faultDetail="null"]at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/inter ... FaultEvent()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\ConcreteDataService.as:2550]
at DataListRequestResponder/fault()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\ConcreteDataService.as:7349] at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.4.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]
at NetConnectionMessageResponder/statusHandler()[C:\autobuild\3.4.0\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:581]
at mx.messaging::MessageResponder/status()[C:\autobuild\3.4.0\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:222]

This message pop up gets recorded and plays out during replay too which is quite annoying.

Has anyone faced a similar issue before? Can someone help on this please?

IE 8.0
Ranorex 3.2.1.15734
Flex 3.2
Snapshot attached.

Thanks,

Farhan
Attachments
Adobe Flash error.JPG
Adobe Flash error
Adobe Flash error.JPG (104.54 KiB) Viewed 763 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Adobe Flash Error on Flex based Testing

Post by Support Team » Thu Jan 26, 2012 10:33 am

Hi,
farhanzom wrote:This message pop up gets recorded and plays out during replay too which is quite annoying.
Has anyone faced a similar issue before? Can someone help on this please?
The exception you get is an internal exception of your application and not a Ranorex specific one. If you use the Ranorex PreLoader, you have to install the Flash Debug Player and therefore you see the exception. Please ask you developers to catch this exception. You won't see this exception with the Release Player, because then this exception isn't thrown.

Regards,
Peter
Ranorex Team
.
Image