When using the Automated Test Framework for a catalog item when the catalog Item field 'Use cart layout' is false.
Error 'FAILURE: Cannot find 'Add to Cart' button.
Steps to Reproduce
- Create a test.
- Add a step to Open a catalog item, such as a standard laptop. Make sure item is set to Use cart layout = false.
- Add the step Add item to shopping cart.
- Test Run.
An error appears: "Error 'FAILURE: Cannot find 'Add to Cart' button."
If 'use cart layout' via system property glide.sc.use_cart_layouts is false, please refer to PRB1192151.
If 'use cart layout' is set on the item itself, there is no workaround for this.
To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In field to determine whether any versions have a permanent fix.
Related Problem: PRB1245444