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/KB0656699.
If 'use cart layout' is set on the item itself, there is no workaround for this.
Related Problem: PRB1245444