Adobe Flash Error on Flex based Testing : General Questions

Adobe Flash Error on Flex based Testing

Ask general questions here.

Adobe Flash Error on Flex based Testing

Postby farhanzom » Wed Jan 25, 2012 11: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/internal::dispatchFaultEvent()[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 54 times
farhanzom
 
Posts: 12
Joined: Mon Jul 26, 2010 1:58 pm

Re: Adobe Flash Error on Flex based Testing

Postby Support Team » Thu Jan 26, 2012 11: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
User avatar
Support Team
Site Admin
 
Posts: 4837
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to General Questions

Who is online

Users browsing this forum: No registered users and 1 guest