I have a Word file that contains several fields with dropdown or fill in type (in the attached sample is only one field). How do I get the value from this specific field? Reading all the text and using regex is not an option as the text around also changes.
Has anyone solved this yet? I have a similar issue. I have a Word document that uses text boxes and drop downs. I can read the text boxes fine, but when I try a GetText on a dropdown, it gives me the default text “Please select an item” instead of the current displayed text. I also tried a GetAttribute with selecteditem, but it returns nothing.
@singh_sumit - Yes, I tried selected item, get text and a couple other get attributes. Nothing seemed to pick up the text. I ended up using OCR on the field to get text.