Testing Scriptable Cart
NetSuite recommends that you test your shopping cart scripts thoroughly before using them in the web store. You have the following options for testing:
-
Use a sandbox account.
-
Use a testdrive account.
-
Create and use a different website for testing purposes.
-
Use a record-level script that runs only for certain user roles, by setting permissions on the script deployment. For more information, see Deploying and Running Scriptable Cart.
If you want to test a form-level script deployment, create an additional custom form that available only to your role as the tester. This way, the script would only run for you or someone in your organization with your role.
The test cases listed below will help you verify your script is running correctly:
-
Visit the home page of your web store, log in with a customer role, and verify checking out using the web store shopping cart.
-
Go to the My Accounts tab on your web store, log in with the customer role, click Enter Sales Orders, and verify the workflow for customers who may enter orders there.