I am trying to automate the suggestion list for a webedit box. I basically want to scroll down and select a value. I have the below code, however, it is not working.Can anyone please help.
BrowserPage.WebEdit("type:=text", "name:=string_A11.*", "html tag:=INPUT").Set objDriverSheet.Cells(r, d.Item(Trim("Insurer Short name_Value")))
Set ListElmt = Description.Create()
ListElmt("micclass").value = "WebElement"
ListElmt("class").value = "search-item"
ListElmt("html tag").value = "DIV"
BrowserPage.WebEdit("type:=text", "name:=string_A11.*", "html tag:=INPUT").FireEvent "onkeyUP"
wait 10
BrowserPage.WebElement("class:=search-item", "micclass:=WebElement", "index:=11").FireEvent "onmousedown"
BrowserPage.WebElement("class:=search-item", "micclass:=WebElement", "index:=11").FireEvent "onclick"
xval = Window("Windows Internet Explorer").WinObject("Internet Explorer_Server").GetroProperty("x")
yval = Window("Windows Internet Explorer").WinObject("Internet Explorer_Server").GetroProperty("y")
Window("Windows Internet Explorer").WinObject("Internet Explorer_Server").Click xval,yval