A retrograde pyelogram is an imaging test that uses X-rays to look at your bladder, ureters, and kidneys. Read on for details about what to expect before, during, and after this test.