๐บHybrid Framework
๐ Hybrid Framework
Combines multiple frameworks into one.
๐ช Keyword-Driven + Data-Driven
Most common hybrid framework.
Keywords represent reusable test steps.
Test data is externalized into files.
Keywords read data from files.
Execution Flow
๐ Test case file lists keywords to execute
๐๏ธ Keyword methods contain test logic
๐ Keywords read data from external files
โป Iterates through multiple data sets
๐ Benefits
๐งฉ Modularity of Keyword-driven
๐ Scalability of Data-driven
๐ช๐ฝ Power of both frameworks
๐ Example Hybrid Framework for CNBC
Visual Representation ๐ก
Here is a visual representation of the execution flow of the hybrid framework:
The test case file lists the keywords that need to be executed. The keyword methods contain the test logic for each keyword. The external files provide the values for the parameters used by the keyword methods. The test executor iterates through the test case file and executes the keyword methods, passing in the appropriate values from the external files.
Last updated