304 views

Description

When using the Automated Test Framework for a catalog item when the catalog Item field 'Use cart layout' is false.
Error appears:
Error 'FAILURE: Cannot find 'Add to Cart' button.

Steps to Reproduce

 

  1. Create a test.
  2. Add a step to Open a catalog item, such as a standard laptop. Make sure item is set to Use cart layout = false.
  3. Add the step Add item to shopping cart.
  4. Test Run.

An error appears: "Error 'FAILURE: Cannot find 'Add to Cart' button."

Workaround

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.

Please review the Fixed In section to determine the latest available patch your instance can be upgraded to.

 

 


Related Problem: PRB1245444

Seen In

Jakarta Patch 6

Fixed In

Jakarta Patch 9
Kingston Patch 3
London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-09-04 03:49:28
Published:2018-09-04