Archive

Archive for February, 2012

Accessibility and Mutation Testing

February 11, 2012 Leave a comment

Accessibility Testing: – It is a process of ensuring that a web application is accessible to people with disabilities. Accessibility verification can help prevent functionality problems that could occur when people with disabilities try to access application with adaptive devices such as screen readers, sticky keys and alternative I/p devices. In addition, if web application is produced for a US govt., under Federal laws, accessibility verification is required in order to prevent violation of federal law, and potential for costly lawsuits.

In accessibility testing following point needs to taken under considerations:

  • Compliance: How product complies with legal requirements regarding accessibility.
  • Effectiveness: How fast users with disabilities can use product to accomplish basic and complex tasks.
  • Usefulness: The features that users with disabilities will want to use product again because it meets their needs and expectations.
  • Satisfaction: How satisfactory product is to users with disabilities.

Mutation Testing: It is a fault based testing technique that is based on the assumption that a program is well tested, if all simple faults are predicated and removed. Complex faults are coupled with simple faults and are detected by test that detects simple faults. It is a process of adding known faults intentionally, in a computer program to monitor the rate of detection and removal, and estimating the number of faults remaining in the program. It is also called as fault injection.

Formula for Mutual Testing,

FU = FG*(Fe/Feg)

FU: No of undetected errors

FG: No of not expected errors detected

Fe: expected errors

Feg: No of expected errors detected

Progressive Testing: Most test cases, unless they are truly thrown away, begin a progressive test cases and eventually become regression test cases for the life of the product.

Localization Testing: The process of adapting software to a specific locale, taking into account, its languages, dialect, local conventions and culture is called localization. Standard used for localization is L10N

An internationalized program has following characteristic:

  • With addition of localized data, the same exe can run worldwide
  • Textual elements such as status message and the GUI component labels are not hard coded in the program. Instead they are stored outside the source code and retrieved dynamically.
  • Support for new languages does not require recompilation
  • Culture dependent data, such as dates and currencies appear in formats that conform to the end users region
  • It can be localized quickly

Example: A Nose too long –In 1993, Microsoft released two products for kids called Creative writer and Fine Artist. The product used a help character named McZee to guide the kids through the software. A great deal of research went into design like looks, mannerism, and personality.

The product failed in few parts of country because, McZee character was having a long nose in its appearance and in their culture people with long nose were not common and it relates with lot of negative stereotypes.