Not storing the selected text of a combox in the script
I have a problem while recording the Combobox.
My combobox is of type "optgroup".
Here I have a list of printer grouped based on its type. So I have a heading Laser Printer and below it will list all the categories and then I have a heading Deskjet and all printers below that and so on. All this is listed in a single combobox and I can select any one at a time.
When I select an item, the content what is stored in scripts are two items above or below. On play back it selects the correct one which it did during recording.
How can I make it to store the right text (content) in the script as selected during recording.
Can anyone please help.
Re: Not storing the selected text of a combox in the script
When I get the object properties, am getting only the selected Index not selected Text, so am unable to compare.
Moreover, If it is wrong then I need to navigate up and down through my scripts, to find the correct one which is cumbersome, do we have any way to identify it at the first instant.