Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

Attention QA Specialists: Pricefx does not support the Cypress open-source testing framework for web applications. Explore alternative testing solutions that align with Pricefx requirements.

This article explains how to perform API testing with Cypress, specifically focusing on adding or modifying entries in Pricefx PP tables using Pricefx APIs instead of the graphical user interface (GUI). The article provides step-by-step instructions, including adding a command to the Cypress commands.js file and using a JSON file to specify the necessary parameters for the API request. It also explains how to find the table ID for the PP table and the format of the JSON file containing the data to be inserted. The article concludes with an example of how to use the command in a Cypress test case.

...