Sign in to follow this  
Shekhar

Test automation for FusionChart charts

Recommended Posts

Dear All,

We need to build test automation scripts to test a website which uses FusionChart SWF Charts. The chart data needs to be verified against the database data. Please help by letting us know how to test the flash swf's charts produced by FusionChart.

Thanks in advance for all your help.

Shekhar

Share this post


Link to post
Share on other sites

Hi,

 

 

 

To do this you would need to build your automation scripts.

 

 

 

There are two ways you can retrieve data from a chart..using its JavaScript API:

 

a) getXML()

 

:) getDataAsCSV()

 

 

 

These 2 functions would return chart data as string which you can verify with the data form your database.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this