Verify failed with popup list\'s GetSelText method
I am trying to verify a popuplist with GetSelText().
As we know it should return a string. But I am here getting "#2"(here 2 is the index of the selected string), due to which my script is failing. It was working fine before.
Re: Verify failed with popup list\'s GetSelText method
if you maintain a opt file for your project, then check the OPT_DROPDOWN_PICK_BEFORE_GET option's value, it should be set to FALSE, i ran into similar problems, after making this FALSE, it worked fine.
or you can set the Agent options at run time
Hope it may help u.