Testing web activities
We can test web activities in store preview to ensure that the marketing information displays correctly in the right e-Marketing Spot. If the web activity contains targets, we can ensure that the marketing information displays only to the target customers. When your testing is successful, we can deploy the web activity to the production environment.This procedure and its supporting examples are designed for use in a testing environment. It is not recommended that you test web activities directly in a production environment.
Before beginning
Make sure that you understand the store preview feature and its optional settings. See Store preview.If your web activity contains targets, plan ahead how you will meet the criteria of the target in store preview. For example, if we are using the Customer Segment target, we must view the store as a customer who is a member of the target customer segment. See Tips for testing targets in web and dialog activities.
If your web activity uses either the Display Top Browsed or Display Best Sellers action, we can force the daily processing of top-browsed or best-seller lists. See Testing the Display Top Browsed and Display Best Sellers actions in Web activities.
Procedure
- Log on to the server in the test environment.
- Open the Marketing tool.
- Open the web activity and take note of details that are relevant to testing, such as the specified e-Marketing Spot, the start date, and the target criteria (if the activity includes a target). Tip: Consider taking a screen snapshot of the web activity to refer to during testing.
- Make sure that the web activity is active.
- Check for other activities that are scheduled for the same e-Marketing Spot at the same time as the web activity we are testing:
- Click the E-Marketing Spots folder.
- Find the e-Marketing Spot specified in the web activity we are testing.
- Right-click the e-Marketing Spot; then click Show Activity Calendar.
- Note any other activities that are scheduled for the e-Marketing Spot at the same time, as well as their priorities. This way, we are aware of other web activities that might conflict with the web activity we are testing.
- When we are ready to test your web activity, select File > Store Preview.
- Set the store preview options according to what we want to test. For example, if the start date for the web activity is set in the future, select Specify date and time, then set a future date that falls within the schedule for the web activity.
- Click Launch Store Preview.
- For web activities that contain targets, reproduce the target criteria in the store preview so that we are viewing the store as a target customer. For example:
- For the Catalog Browsing Behavior target, browse the parts of the catalog specified in the target.
- For the Customer Segment target, we might need to register or log on as a customer with the attributes specified in the customer segment.
For more information about testing targets in web and dialog activities, see Tips for testing targets in web and dialog activities.
- View the e-Marketing Spot to test whether the marketing information displays as expected:
- Navigate to the store page containing the e-Marketing Spot specified in the web activity that we are testing.
- At the top of the store preview window, click Show Page Information. In the upper left corner of the e-Marketing Spot to view, click Show Information.
- Review the marketing information displayed in the e-Marketing Spot to ensure that it is working as expected.
- If your web activity contains a Branch element, test each path by reproducing the flow that is defined in each path.
- If your web activity contains an Experiment element, test the path by placing an order, and then running the RaiseECEvent job or wait 5 minutes. The RaiseECEvent job is scheduled to run every 5 minutes by default.
- Update marketing statistics to see the latest statistics in Store preview.
- Run the SaveMarketingStatistics job.
- At the top of the store preview window, click Refresh to update the counts displayed on elements and the e-Marketing Spot statistics.
- Make any necessary corrections to the web activity or the marketing information it displays.
- Deploy the tested web activity to the production environment.
Related concepts
Store preview
Web activities
Related tasks
Previewing a store as a customer in a customer segment
Previewing a store
Testing web and dialog activities