Test Automation |
Hummingbird comes with a flexible and powerful automation engine, plus a fluent user interface, test automation can be done in an efficient way.
Automated tests are organized into Test Suites, and the test itself consists of different Test Steps. Hummingbird provides different kind of test step of accomplish better and easier test automation for API.
In these section, you will understand:
The structure and composition of an automation project:
How to use Variables
Use assertions to verify expected results
View and export test report
Configure test profiles
Hummingbird’s automation engine features also API Performance Testing, to know more about performance testing, please refers to: Performance Test
To start with Test Automation, you can choose automation in the menu, the interface will be similar to image below:
Useful links gives you a quick way to go the right place in this documentation, and understand how every piece of test automation works.
Starts from here gives you the ability to Start a new automation project or Open an existing project.
All recent projects will listed under “Recent projects”, gives an immediate way to pick from where you left.
Note |
---|
Note: In this documentation, we will use Test Item to represent all test automation items. When we refer a Test Item, it can be any of: Automation Project, Test Suite, Test Case and all Test Steps. |
Either create a new project, or open an existing project. The content of the project will be shown in the following interface:
On the left, the structure of the current automation project. It is organized in 3 level: Test Suite, Test Case, and Test step, where the root node represents the automation project itself.
Right-Click on any of the nodes will shows the context menu where some actions you can do. Such as: create Test Cases into a Test Tuite, Create different kind of test steps into test case.
In Hummingbird you can use well-known keyboard shortcuts, such as Copy (CTRL+C), Paste (CTRL+V) and Rename (F2).
When copy-paste the nodes, hummingbird detects automatically the indention of the user. If pasting a “Test Case” on another “Test Case”, this test case will be insert after the selected “Test Case”; pasting a “Test Case” on a “Test Suite” will naturally append the pasted test case into the current Test suite.
Drag and drop is also supported, you can use mouse to drag and drop test items on another one.
Once a test item is selected, related information will be shown on the right part. In some cases the detailed information of test item is organized in different Tabs.
Fore more information about each test item details, please refer to the sub links.