Click here to Skip to main content
15,880,405 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
We presently use Automation Framework with MStest and Selenium C# POM framework for the e-commerce domain in our organization.

Currently, organizations are moving toward an AB testing strategy for a few pages.

Therefore, I am unsure of the testing strategy in the existing Automation Framework I should employ so that the code and pages will function properly across all design approaches.

 in our situation, A/B testing will be conducted for several users; for example, one person may receive Design A for the basket page, while a different user may receive Design B.


What I have tried:

But for the Automation Framework, the important concern is how to handle both the designs POM and how our framework can choose which code to check for if it receives Design A/B for the basket page.

I am absolutely new to AB testing, so any assistance would be greatly appreciated.
Posted
Updated 17-Aug-22 19:50pm
Comments
[no name] 19-Aug-22 14:39pm    
AB testing is about evaluating options related to customer preferences. If you don't have "options", then you don't have the "B" to go with your "A".
Member 15627495 20-Aug-22 17:26pm    
to reach AB testing feature,

you have to use MVCs components for the web site.

Once you have a MVC, you'll swap about design 1 or 2 easily,
so a background recording which user got the 1 or the 2 is to prepare aside the products db.

when going on MVC , you have to :
- separate design / components / handles of both
by 3 parts Model View Controller

It's the best and skilled
solution

if you need to test few design , differents CSS files can do the job, because CSS can hide or show elements on a page, and make the general purpose looking fews ....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900