The protocol presents a noninvasive method for the rapid diagnosis of Helicobacter pylori stomach infections through the string test and determines its antibiotic resistance to clarithromycin and levofloxacin using quantitative polymerase chain reaction (qPCR).