cancel
Showing results for 
Search instead for 
Did you mean: 

Events not triggered upon selecting an element from HTMl Select box

yogesh_thupda
Level 3
We have a web page, where in there are multiple select boxes, and the values of select box gets populated basing the selection of the parent select box(a javascript call through onChange event). Using HTML Mode spying we are able to set the value for the select box , but the event .i.e js call is not getting triggered. Tried "Accessability mode" spying for identifying it as combo box, but its not recognizing the children i.e values of the combo box. Can you pls help us, how can we handle such scenario?
1 REPLY 1

John__Carter
Staff
Staff
You need to find some way of triggering the change event, which is expecting human (not robot) interaction with the control. Try using a combination of the HTML method to select the value, then maybe a global mouse click or keystroke to 'wake up' the javascript.