This is a qualitative bedside test in which the presence of surfactant results in persistence of bubbles after shaking. Ethanol acts as an antifoaming agent. The higher the amount of surfactant, the greater the resistance to the antifoaming action of ethanol.