AscentialTest Support Hub

Use key action to p…

 

Notifications

Clear all

Use key action to prevent WebPopupList firing Ajax call



1

Posts


1

Users


0

Reactions


35.4 K

Views

(@echang)
New Member

Joined: 12 years ago
Posts: 1

Topic starter
 

The default behavior of WebPopupList select API will trigger value change event, it could bring some problem in the case application will fire ajax call upon value change event. The workaround is to use key event API, for example:
this.Click()
Integer count = indexOfTargetElement – 1
this.GenKeyEvents(“<Down : Repeat {count}>”)
this.GenKeyEvents(“<Enter>”)



   

Quote

Share:

Can’t Find An Answer in the Forum?

Contact Our Team