What can I try when SilkTest returns a "Control not responding" error when I try to Select from my JavaScript dropdown menu? In a particular case, the following line of code was producing a "Control not responding" error originating in the Select method: [ ] window.dropdown.click () [ ] window.dropdown.select ("Reply All") ANSWER ---------------------------------- Try giving the Click method the specific x,y co-ordinates of the object by using the GetRect method, an example of the coding is shown below: [ ] RECT MenuShape [ ] window.SetActive () [ ] MenuShape = window.dropdown.GetRect () [ ] window.dropdown.Click (1, MenuShape.xPos, MenuShape.yPos) [ ] window.dropdown.Select ("Reply All") Old KB# 22356
↧