Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handling tabout in QTP
#1
Not Solved
Hi Team,

I would really need you help on the below scenario:

Scenario: There are 2 webedit fields (Address1 and Address 2) in the application, If you enter something in Address1 and tab out, Address 2 will appear to enter.

Question: How to handle this tabout action in QTP… I tried the below but received the run time error "Object does not support this property…..":
Browser().page().WebEdit().Type micTab

Would really appreciate if someone helps me. Thanks in advance
Reply
#2
Not Solved
Probably "SendKeys" is the keyword you should be looking for.

Search and learn about "SendKeys" and that might help.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Not Solved
Hi,

Thanks for your email. Even I tried Sendkeys method to handle this but no luck, neither displayed error message nor any action by QTP.

The below code which tried:

Code:
Dim strInputKey
strInputKey = "{TAB}"
Set objWsh = CreateObject("WScript.Shell")
objWsh.AppActivate "Payment"
Browser("Payment").Page("Payment").WebEdit("payTranSenderCorrRefLi").Set "Address1"
Browser("Payment").Page("Payment").WebEdit("payTranSenderCorrRefLi").Click
objWsh.SendKeys strInputKey

Appreciate your help. Thanks much.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Rolleyes QTP pop up window handling piyush8793 3 16,884 10-15-2015, 11:03 PM
Last Post: Venkateswarluponna
  Handling .NET framework menu in webpage using QTP 10 vishnu1067 0 2,335 05-15-2014, 05:30 PM
Last Post: vishnu1067
  Handling mutiple browsers with QTP suresz449 3 5,324 08-19-2011, 02:26 PM
Last Post: sshukla12
Exclamation RE: QTP - Exception Handling Unleash Rajesh 2 5,028 07-05-2011, 08:54 PM
Last Post: rajpes
  Exception Handling in QTP sudhirzpatil 2 13,001 12-22-2010, 10:05 AM
Last Post: sudhirzpatil

Forum Jump:


Users browsing this thread: 1 Guest(s)