TABLE OF CONTENTS
2. Generating Custom Values with Quotes
1. Overview
You can generate custom values with quotes in the Feature File using the DOUBLE_QUOTE<value>DOUBLE_QUOTE keyword format using Record Scenario feature.
2. Generating Custom Values with Quotes
To generate custom values with quotes using the Record Scenario feature, perform the following:
- Create a project and navigate to the Test Design > click Record Scenario feature to record a scenario.
- Enter Scenario name, outline and click Create.
- Select the appropriate feature checkbox to view the list of UI elements configured.
- Navigate to scenario list.
- Select the required scenario and click the Edit icon corresponding to that scenario.
- Scenario Steps list appears, click on edit icon.
- Edit Step window appears. In this screen, select More options to add the required custom value in Custom value text box, then click Save.
If you enter custom values into the Custom Value text boxes in this format "<value>", these values will appear in the Feature File without the double quotes.
Note: You can add custom values with quotes in Edit Scenario Feature as well. For more information, refer to alias step section of Managing Test Cases using Edit Scenario workflow. When users enter multiple custom values for the same step: Without inline param: Test case generation works correctly with and without data decoupling, generates proper steps in the updated file, and creates a single GWT steps. With inline param: Test case generation works only without data decoupling, leads to duplicate steps in the updated file, and results in multiple GWT steps.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article