Form an automated test case using keywords
Assuming that we have keywords developed and we need to form an automated test case using the built keywords, let's understand how we can frame an automated test case by stitching the keywords being built. To do this, refer to the following steps:
Have a list of all the keywords under Java class files of the
applicationLib
folder of the framework.Form an automated test case in a datasheet (as an example,
GoogleSearchData.xls
) by grouping the appropriate keywords (or methods).Add the automated TC (Test Case) in
Master.xls
.
Steps to form an automated test case
This section will show you how to add an automated TC and add the TC info into Master.xls
, which works as a controller for execution and also explains the significance of each and every column in the data and the master sheet.
The packtAutomationFramework
folder has two data sheets, Master.xls
and GoogleSearchData.xls
. Both files are located in the \PacktAutomationFramework\TestData
project folder...