Test Case is a collection of test steps that contain a Keyword, a Control Flow Construct, or a Function Library. Further, a Keyword can take either no input or can take an object, data, or both as inputs. Each test step also returns an output which can be used as input for other test steps as well. The test case module is integrated with a recording feature which helps while recording actions performed on a web application and create a complete test case easily and quickly.
For example, you can create a Test Case for testing functional as well as the user interface of an e-Commerce web application. The test case steps may contain test steps as login to the web, searching the product, buying a product, making payment, and finally one for logging out of the portal.
Working with Test Case
After successfully login into the Opkey Web, select the appropriate Project in which you want to create a test case File.
You will be navigated to the screen has as shown.
You can mark the βDonβt show me againβ checkbox as checked if you do not wish to view this notification again.
Click βEnd Tourβ to proceed with the process of creating a Function Library file.
How to create a Function Library File?
Method 1
After clicking on βEnd Tourβ, you may βClick to Create New Artifactβ. Select Function Library. The βFunction Libraryβ text will appear highlighted.
Click on the highlighted icon to create a New Function Library file. A Create Function Library window will get open as shown
The fields marked with * are mandatory. Enter the Name of the Function Library. You can also enter the Description. Click OK.
Method 2
Go to Project Workspace > Select the root folder > Click Create New file icon Β > Select Function Library
A Function Library file will be created in the root folder of the Project Workspace. You may rename the Function Library accordingly.
Method 3
Right click on root folder > select Create New > select βFunction Libraryβ.
A Function Library file will be created in the Root Folder of the Project Workspace.
The Function Library window will open up as shown.
There are two ways of creating Function Library: By adding test steps and by recording.
Letβs first discuss about creating Function Library by adding test steps in the next article.
Β
β