Americans have been warned to prepare for an official emergency alert test that will blast on televisions and radios nationwide.