How to handle KeyUp Event used in my App - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: How to handle KeyUp Event used in my App (/Thread-How-to-handle-KeyUp-Event-used-in-my-App) |
How to handle KeyUp Event used in my App - Hpqtp - 07-01-2014 One of the WebEdit fields (Zip-code) in the Web app that I'm automating has a KeyUp event that triggers ajax call which fetches back City & State based on zip-code that was entered. When I enter zip-code using QTP ajax call doesn't get triggered, Hence right after entering zip code I'm firing onKeyUp event via QTP. But this also is not triggering the ajax call. What am I missing here? RE: How to handle KeyUp Event used in my App - winslal - 07-01-2014 Try using Code: webedit("").object.value="", If it is still not working try the keystroke method, Code: webEdit("").object PressKey "" hope this works RE: How to handle KeyUp Event used in my App - Hpqtp - 07-02-2014 Thanks for your reply Code: webedit("").object.value="" and I can't make Code: webEdit("").object PressKey "" Would you have a working example of it? RE: How to handle KeyUp Event used in my App - supputuri - 07-03-2014 Did you tried using the fireevents? |