/
How to Create Custom Steps
Back to QMetry All Products Help Page
How to Create Custom Steps
Create Custom Steps for Java QAF
Step 1. Export your BDD test case from Test Recorder.
Step 2. Add the custom step as shown in the image below.
Syntax: Prefix + custom step name + variable (if required)
Example: Then display author name "AUTHOR_NAME"
Step 3. Provide the definition of above custom step in platform_name/StepsLibrary.java file as shown in the image below. You can utilize the parameter of method as per your requirement.
For different types of languages/frameworks file can be different but the steps remain similar.
, multiple selections available,
Related content
Manage Test Data
Manage Test Data
Read with this
Manage Repositories
Manage Repositories
Read with this
Object Spy for Web and Native Apps
Object Spy for Web and Native Apps
Read with this
Back to QMetry All Products Help Page