Verify Discount

Modified on Thu, 7 Aug at 3:11 PM

The 'verify discount' action is used to ensure that a discount is correctly applied to a product or service based on a given discount percentage.

For example, if a product is originally priced at $100 and a 20% discount is applied, the final price should be $80. The "verify discount" action would check that the displayed price after the discount matches the expected price based on the discount percentage provided as a parameter. Refer to adding a parameter section.


Scenario: Verifying a discount on a product

Given the product is priced at $100

When a 20% discount is applied

Then the final price should be $80

Supported UI element is a TextBox.


Adding a Parameter

While adding nodes in the node configuration process, you can add parameters. 

If you have already created the project, navigate to the Projects and select the appropriate project. Click on the required node and it will navigate to Test Design, you can view associated feature and the UI element. In this window, you can add the parameters and click Save.  




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article