Hi All,

As per the discussion happened at [1], Developer Studio has introduced a
Test Automation Framework and please find below details on the architecture
of the Test Automation Framework.



​​
Test Automation framework consists of the following modules:


   - Automation Framework Engine
   - Automation Framework Utils
   - Test Annotation
   - Product Plugin Utils


*Automation Framework Engine*

SWTBOT is the testing tool for testing SWT and Eclipse based applications
and ‘SWTWorkbenchBot’ component and the ‘SWTFormBot’ components are used
inside the WSO2 Developer Studio Test Automation Framework.

SWTWorkbenchBot offers APIs for testing Eclipse workbench items like views,
editors and perspectives etc. While SWTFormsBot uses to test eclipse forms.

*Automation Framework Utils*


   1. Workbench Elements Validator - This includes methods which can be
   used to validate the workbench elements
   2. Common Utils - This has two sub components namely Validation Utils
   and Functional Utils to validate and check functionalities


*Test Annotation*

This has two components as Test Runner and Test Executor which provide
annotations for defining the execution order, initialization and teardown
the test cases.


*Product Plugin Utils*

This contains methods which can be used to implement product specific
functionalities

When considering the Test Environment, we have used JUnit as the framework
to implement tests and also there is target platform with a target
definition file which used to run test cases in headless mode.

[1] UI test automation framework for the Wso2 development studio

Thanks,
Sohani


Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog     :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to