dw.campaign
Class ABTestMgr
Object
dw.campaign.ABTestMgr
Manager class used to access AB-test information in the storefront.
Properties
assignedTestSegments  :  Collection  (Read Only)
Return the AB-test segments to which the current customer is assigned. AB-test segments deleted in the meantime will not be returned.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
static getAssignedTestSegments() : Collection
Return the AB-test segments to which the current customer is assigned.
static isParticipant(testID : String, segmentID : String) : boolean
Test whether the current customer is a member of the specified AB-test segment.
Salesforce Commerce Cloud Courses
Salesforce B2C Commerce Developer - Certification Tests
Why risk failing the SFCC exam? Get 180 real questions, killer content, and everything you need to crush the Salesforce B2C Commerce Developer certification.

Becoming a Salesforce B2C Commerce Developer is your ticket to higher salaries, better job opportunities, and the credibility to stand out from the competition. But let's be honestβ€”passing the certification exam isn't easy. That's where we come in.
Salesforce Javascript Developer I - Certification Tests
Not just another prep courseβ€”this is your shortcut to passing. Master JavaScript for Salesforce and go from 'hoping to pass' to knowing you will. Ready to start?

This isn't just another prep courseβ€”it's your shortcut to mastering the skills and confidence you need to pass. With multiple practice tests covering every section and a final exam simulation designed to mirror the real thing, you'll feel like you've already aced it before test day.
Salesforce B2C Commerce Architect - Certification Tests
Think the Developer exam was hard? Welcome to the next level.

The Salesforce B2C Commerce Architect certification is a whole different gameβ€”complex solutions, elevated difficulty, and skills that set you apart in the eCommerce industry. That's why we're including 11 downloadable PDF guides, packed with best practices and strategies to help you prepare for the exam and build confidence in every topic.
Method Detail
getAssignedTestSegments
static getAssignedTestSegments() : Collection
Return the AB-test segments to which the current customer is assigned. AB-test segments deleted in the meantime will not be returned.
Returns:
unordered collection of ABTestSegment instances representing the AB-test segments to which the current customer is assigned.

isParticipant
static isParticipant(testID : String, segmentID : String) : boolean
Test whether the current customer is a member of the specified AB-test segment. This method can be used to customize the storefront experience in ways that are not supported using Business Manager configuration alone.
Parameters:
testID - The ID of the AB-test, must not be null.
segmentID - The ID of the segment within the AB-test, must not be null.
Returns:
true if the current customer is a member of the specified AB-test segment, false otherwise.

β™₯
Notifications pending to read