When We Should Use KeyPress Instead of setText in Open Script??

Last week (KeyPress) I was testing an application which was based on servlet and client validation…