Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I have a Web app which has built-in chatroom. The chatroom was built with Flash and it will be loaded within the webpage. Any ideas and guidance to test in this scenario?

  1. What kind of scenarios can I apply to test it?
  2. Any automated tools to test for my scenario?
  3. If testing is manual then please guide me what may be the criteria to test the web application with a Flash chatroom

So far I've done the following to test it :

  • logged into chatroom from multiple machines chatted each other
  • checked user criteria's (login details etc)
  • crash tested application

Any other things I missed?

share|improve this question

closed as not a real question by dzieciou, Sam Woods, Dan Snell, corsiKa Mar 10 '13 at 19:04

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
I think your question is overly broad. You're asking for help in designing test cases and in automating those test cases. Also, one task depends on the other. To understand how test cases can be automated, you need to first have them. Please consider splitting this into two questions and give examples of test cases you consider for automation. –  dzieciou Jan 5 '13 at 9:22

1 Answer 1

up vote 3 down vote accepted

You've got a distributed app where messages traverse between clients through a server. I wish I had something like that to test :-).

You've probably tried in your life a number of chat applications (Skype, IRC, online chats, Gmail chat, comments in Word documments), so you know how different chats can be. You probably have also your own image of how chat room should look and work like. Therefore, you should thus ask yourself more about expected behavior of the application, before inventing test cases.

  1. Should messages be always delivered?
  2. Is it real-time synchronous chat or more like a forum, where people can leave a message for the future (e.g., chat here on StackExchange)
  3. How messages should be delivered to peers that have temporary network connectivity problems? Different applications have different politics about buffering messages when a recipient is not online. Some of them buffer them on sender side (Skype), other cache them on server.
  4. Should messages be delivered over secured channel? Combination of SSL an Flash can be tricky to implement correctly
  5. Should the same user be able to log in from two different machines at the same time?
  6. What media peers can exchange on chat? Text, formatted text, images?
  7. How many people can participate in a chat? Two? Three? Four? Are there any limitations? Should "real-timeness" of message delivery scale well for large number of peers?
  8. Are there any special commands on chat? For instance IRC provided a number of commands for setting up a topic on a channel, moderating the channel, etc.
  9. How large messages can be? Can I sent encoded MP3 through it without problem? ;-)
  10. Can special characters be sent by client? How are characters encoded? UTF-8, ASCII or other standard? Is encoding fixed on client side (as was in IRC) or it is negotiated between client and a server automatically?
  11. How are messages ordered in a chat? Based on posting time or delivery time? This particularly relates to messages sent when peer(s) are not online
  12. How output should be formatted? Compare for instance Skype with chat room here.
  13. Can you edit/remove messages you've already sent?
  14. Should time of message sending be shown? How does this should work for clients from different time-zones or with some inter-clock skew?
  15. What about DoS attack? Is there a risk of such?
  16. Are chat entries persisted in DB? If so, then what about SQL injection?
share|improve this answer
    
nice answer,thanks for wonderfull answer –  BlueBerry - vignesh4303 Jan 7 '13 at 5:16

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