The application-independent framework is a specific keyword-driven testing or table-driven testing. It identifies the keywords that are independent of the AUT, which can perform specific actions on the components of the AUT directly. The key difference between the keyword-driven framework and application-independent keyword-driven framework lies in the library. In the application-independent keyword-driven framework, the functional library is more generic or works directly on the generic components for AUT. The following is the data table:
Window |
WinObject |
Action |
Arguments |
---|---|---|---|
Calculator |
button |
Click |
1 |
Calculator |
button |
Click |
+ |
Calculator |
button |
Click |
3 |
Calculator |
button |
Click |
= |
Calculator |
Text |
VerResult |
4 |
The functionality of the AUT is specified in the data table. The preceding table allows calculating some operations on the calculator window, which is 1 + 3 = and verify the result. The instructions are as follows:
Click on the button...