So...I added Click() method, followed with ClickItem() and there is no error message but the script work inconsistently. The ClickItem() sometime get skipped.
aqUtils.Delay(10000, "Wait for View");
views_dropdown.Click();
aqUtils.Delay(10000, "Wait for View");
Log.Message(item);
views_dropdown.ClickItem(item); // work sometimes ,why???
views_dropdown.ClickItem(item); // this one works Then, I added ClickItem() again to make sure the action is taken. And I realized that I had to do the same thing on the other script with ClickItem() method a while back. Because the first line is skipped and the second line works.
Aliases.browser....ClickItem(year); // this line sometime get skipped , not sure why????
Aliases.browser....ClickItem(year);
Having 2 lines of ClickItem() seems to be a workaround for this issue. The other project also experiences this issue as well.