Web Interface Functional Testing

by samtheadmin on 14/06/09 at 5:09 pm

Functional Validation

Web interface testing is difficult to automate. Too often teams abandon automated testing in favor of manual testing, due to too many false positives or too much effort required to maintain the test suites. SW Quality Assurance provides solutions that facilitates creation of automated test suites that are reliable and dependable. Its ability to isolate testing to specific elements of the Web application eliminates noise and provides accurate results.

SW Quality Assurance isolates and tests individual application components for correct functionality across multiple browsers without requiring scripts. Additionally, dynamic data can be stubbed out with constant data to reduce test case noise.

Validations can be performed at the page object level as well as the HTTP message level. We verify the client-side JavaScript engine under expected and unexpected conditions through asynchronous HTTP message stubbing. Test cases are flexible and can be easily reused and shared.

You can automatically create regression tests that ignore expected content changes for entire pages, or you can create specific regression tests on individual page elements, thus eliminating the noise of annoying false positives.

RIA/AJAX

AJAX and Rich Internet Applications deliver a richer user experience as well as bring a greater level of complexity to the architecture and development of Web applications. SW Quality Assurance delivers an automated framework to isolate and test the unique components of an AJAX/RIA application and then aggregates those components into a comprehensive test suite.

We validate the format and content of client/server messaging to ensure that the data is expected and correct. In addition, server messages are “frozen” and inserted in place of dynamic messages to validate that errors seen in the user interface elements are due to defects in the Ajax engine and not due to changes in dynamic application data.
Low-Noise, Script-less Tests

It can be challenging to create robust, noiseless regression tests for highly dynamic Web applications. In many testing environments, complex test creation means writing endless proprietary scripts and generating many false positives.

SW Quality Assurance eliminates the need for writing scripts, and instead provides a simple GUI interface to create tests. To provide additional flexibility, tests that are more suited to the control that scripting offers can be generated as JUnit tests and extended using the Java programming language.

You can automatically create regression tests that ignore expected content changes for entire pages, or you can create specific regression tests on individual page elements, thus eliminating the noise of annoying false positives.

End to End Testing

SW Quality Assurance offers the unique ability to create end-to-end test suites that cross application layers, SDLC phases, and testing methods:

  • With a single test suite, you can continuously validate all critical aspects of complex transactions which may extend through web interfaces, backend services, ESBs, databases, and everything in between.
  • “Unit tests” can be created as soon as a single “unit of work is completed, then this test suite can be incrementally enhanced to verify additional components as they are added, test the integration of components, and audit end-to-end business processes that span across composite applications.
  • The same end-to-end test suites that are created for functional testing can also be leveraged for security as well as load testing— and all of these tests can easily be integrated into a robust regression testing suite.
  • During test execution, you can visualize and trace the intra-process events triggered by tests, facilitating rapid diagnosis of problems directly from the test environment. You can also continuously validate whether critical events continue to satisfy functional expectations as the system evolves.

Leave a Comment