The abstract object based Selenium Test framework (AOST) is designed not only for user acceptance test (UAT) but also for more general UI tests for developers since nowadays more and more people work in an agile environment. The requirement keeps changing and people keep refactoring and testing the UI. Selenium tests are usually created by using Selenium IDE to record Web UI Events and then replay them. The disadvantages include Fragile, not really work in a dynamic environment. It is not module based and hence difficult to refactor and maintain.
The AOST test framework does not depend on Selenium IDE at all. It uses UI components to modularize and to abstract the UIs. Furthermore, you can start to write UI tests while you are doing code development. Other advantages include reusable, expressive, easier to refactor and maintain.
The AOST framework introduces a new Domain Specific Language (DSL) and an object to locator mapping (OLM) framework to make it much easier for users to write UI tests. The framework has the following features:
- Include a Domain Specific Language (DSL) to define UI objects and write selenium tests
- Written in Groovy, test cases can be written in Java or Groovy
- Include an Object to Locator Mapping framework (OLM)
- Make it possible for users to write Selenium tests when they start coding
- Reusable, expressive, easier to refactor and maintain
- Provide DSL script executor so that non-developers can write Selenium tests in DSL
The project is located at
http://code.google.com/p/aost
For detailed introduction, please see
http://code.google.com/p/aost/wiki/Introduction