Return the text labels of a combo box as a string to make it easier to check the content of a combo box in tests.