Book Image

Learning Selenium Testing Tools - Third Edition

Book Image

Learning Selenium Testing Tools - Third Edition

Overview of this book

Table of Contents (22 chapters)
Learning Selenium Testing Tools Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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:

  1. Have a list of all the keywords under Java class files of the applicationLib folder of the framework.

  2. Form an automated test case in a datasheet (as an example, GoogleSearchData.xls) by grouping the appropriate keywords (or methods).

  3. 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...