The Keyword-Driven Test Automation Framework With JSON Format for REST API Testing

First, I’d like to get back a little bit of this framework’s architecture overview.

Test execution progress
Test Execution Progress

As the above image and the previous story mentioned, the test suites/cases/steps are formed in a JSON file, and the framework will load and map these JSON files to the list of test suites/cases objects. Then, action steps are executed based on the class and method (keyword) that are specified in each test step (use the reflection technique to invoke the keyword — method). Our responsibility is to write the autotest script inside each keyword.

CategoriesUncategorized