Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm looking for a way to test my webpages that have dynamically generated graphs (using such things like Google Graphs). Does anyone know if there are such tools that exist (perhaps Selenium would do this).

Thanks

share|improve this question
    
What exactly are you trying to test? –  Martin Wickman Jan 14 '11 at 23:46

2 Answers 2

You won't be testing if Google Graphs work, because that's not your job. What you should test, is if you're sending correct API calls to the external service and if given a well formated reply your application process it as expected.

share|improve this answer
    
Would this be true if I am using another vendors solution, such as any of these? rgraph.net highcharts.com phplot.sourceforge.net jfree.org/eastwood –  naaronne Jan 11 '11 at 21:25
1  
Yes. You're testing YOUR application, not someone elses. The a priori assumption here is of course is that THEIR application/service works as advertised (even though this might not necessarily be true). You should mock these external services in your tests, assuming they behave as described in their documentation. –  Mchl Jan 11 '11 at 21:35
    
Mchl thank you very much. I agree with your recommendation and will probably go the route of mocking the api calls. And there is always the assumption that the 3rd party code is doing what it should, but that shouldn't really be my problem. –  naaronne Jan 12 '11 at 16:49

It isn't clear to me what kind of test do you wanna do (english isn't my primary language).

But you can use JMeter (that will be valuable to perform load/stress tests) and even Firebug, that has nice features.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.