Cannot active the <item> in a Listbox - ClickItem("xyz") function suddenly stopped working?
Hi,
I have a piece of line that has been working for years and it has suddenly stopped working with no changes made to the script/application in that area.
Using Jscript for Web application:
Page.NativeWebObject.Find("ObjectIdentifier", "ContentPlaceHolder1_Listbox_Roles").ClickItem("xyz");
This is giving me error message 'cannot activate the 'xyz' item.' during runtime.
The object spy cannot go inside the listbox (contentPlaceHolder1_Listbox_Roles), so that is last point of reference, I tried using other functions like SelectItem(xyz) or using full name or using different identifier or using test recorder etc.with no luck. I cannot use index (instead of name) as the item passed is a variable and will have different index on a different instance. I think it is able to see the item, just cannot active it.
Update: It is due to running the scripts in IE 11, previously it used to be ran on IE8/9.
Is there any workaround for this to work in IE 11?
Many Thanks,
Shiva