group strep b

For the group strep b Test how is the test preformed? Is it similar to how a pep smear is done?