A woman who attends for a smear test or vaginal examination whilst fasting. If the mechanical instrument used for the examination, or the hand (in the case of a manual examination) was dry, it would not break the fast. However, if there was some gel on it, or it was withdrawn and reinserted with some discharge on it, it will break the fast. It would be safer not to have such tests during Ramadhān.
تحفة ص 71
Some ladies ask if Ghusl becomes Fardh after a smear test. The answer is no. Ghusl only becomes Fardh upon sexual intercourse or the ejaculation of semen. Neither takes place here, so Ghusl will not become Fardh. However, Wudhū will break because of the discharge that comes out.
Extracted from A Gift for Ramadhan, Page 66.