Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to handle KeyUp Event used in my App
#1
Not Solved
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?
Reply
#2
Not Solved
Try using
Code:
webedit("").object.value="",

If it is still not working try the keystroke method,
Code:
webEdit("").object PressKey ""

hope this works Smile
Reply
#3
Not Solved
Thanks for your reply
Code:
webedit("").object.value=""
runs fine but doesn't solves my purpose.
and I can't make
Code:
webEdit("").object PressKey ""
to work.
Would you have a working example of it?
Reply
#4
Not Solved
Did you tried using the fireevents?
Thanks,
SUpputuri
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows Application Custom Combo box selection change event not firing in uft RamUFT 0 964 02-06-2020, 08:10 AM
Last Post: RamUFT
  Can QTP handle slick grid table in a web page qtplearner88 2 4,506 10-01-2019, 10:44 AM
Last Post: shilpi952
  How to Handle Modal Dialogs In QTP Jyobtech 0 2,475 07-22-2015, 01:22 AM
Last Post: Jyobtech
  Script required to run any app as administrator kalyan_srirangam 0 2,640 09-02-2013, 08:18 PM
Last Post: kalyan_srirangam
  How to handle scroll down in the web page Mala 14 25,095 04-01-2013, 09:55 AM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)