.. include:: _include.rst
.. highlight:: html+jinja
.. _testsuite:
#####################
Testsuite
#####################
In section "Testsuite" you can find some helpful tools that will support you in your daily work with |asa2|.
************
Placeholders
************
With the "Placeholders" tool, you can check the contents of all placeholders on a certain product. Enter the ASIN and country store or search a product with the product picker (magnifier button). Now click the "Submit" button.
A complete list of available placeholders for the selected product will be loaded.
.. image:: _static/testsuite_placeholders_01.png
:height: 896px
:width: 873px
:scale: 100%
:alt: List of placeholders
By default, the result will not load images or show the contents of array placeholders like {{ FeaturesArray }}. To do so, check the options "Show images" and "Show array contents" below the submit button before you submit the form.
.. image:: _static/testsuite_placeholders_02.png
:height: 224px
:width: 772px
:scale: 100%
:alt: List of placeholders with images
If the product is not yet stored in the :ref:`Repo`, you can check the option "Transfer to Repo" and hit the submit button. The product will then be added to the Repo if it did not exist already.
************
API response
************
Sometimes it can be helpful to check what data the |apilong| delivers for a product, e.g. if the price on the product page differs from the price you see on your site. With the "API response" tool you can retrieve the **XML result** from the |api|. Just enter the ASIN and country store or search a product with the product picker (magnifier button). Then click the "Get response" button.
With a little knowledge about the |api| response, you can find the values you are looking for.
.. image:: _static/testsuite_apiresponse_01.png
:height: 900px
:width: 648px
:scale: 100%
:alt: Amazon API XML response