How to create framework in TOSCA
Creating a framework in Tosca Automation involves the following steps:
- Define the Test Scope: Before creating the framework, it’s important to define the scope of the testing effort. This includes identifying the features to be tested, the test cases to be executed, and the data required for testing.
- Create the Test Modules: Once the test scope is defined, the next step is to create the test modules. Test modules are reusable components that encapsulate test logic, such as actions and test steps. They can be created using the Tosca Automation interface.
- Define Test Data: Test data is required for executing the test cases. Tosca Automation provides a central repository for managing test data. You can create test data sets that are specific to different test scenarios.
- Create Test Cases: Test cases are created by combining the test modules and test data. You can create test cases in Tosca Automation using the model-based approach. Once a test case is created, you can parameterize it to allow for different input values.
- Design Test Execution Flow: Tosca Automation supports Business Dynamic Steering (BDS), a concept that allows for intelligent adjustment of the test execution flow based on the application’s response. You can define the test execution flow by creating transitions between test cases.
- Configure Test Execution: Tosca Automation provides options for configuring the test execution environment, including test data, test modules, and test cases. You can also configure the test reports to be generated.
- Execute the Tests: Once the framework is created and configured, you can execute the tests. Tosca Automation provides options for executing tests in various modes, including manual, semi-automatic, and fully automatic.
Overall, creating a framework in Tosca Automation involves designing the test scope, creating test modules, defining test data, creating test cases, designing the test execution flow, configuring test execution, and executing the tests. By following these steps, you can create a robust and scalable framework for testing your applications.