Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to perform keyboard and click actions
#3
Not Solved
Hi,

For the above code, two rows are not selected. Only one row is clicked.
Tried with below code as well, but did not work...

can anyone help me on this??

Code:
Set ODesc=Description.Create()
ODesc("html tag").Value="TABLE"
ODesc("text").Value="ABC"
Browser("XXX").Page("YYY").WebTable(ODesc).Click

Set DeviceReplay = CreateObject("Mercury.DeviceReplay")
DeviceReplay.KeyDown 29 ‘ 29 is for control

Set ODesc1=Description.Create()
ODesc1("html tag").Value="TABLE"
ODesc1("text").Value= "XYZ"
Browser("XXX").Page("YYY").WebTable(ODesc1).Click
DeviceReplay.KeyUp 29 ‘ 29 is for control
Reply


Messages In This Thread
RE: How to perform keyboard and click actions - by Ravi_Chandra - 05-23-2011, 05:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  KeyBoard Events ravi.gajul 4 16,089 07-19-2017, 08:49 PM
Last Post: sathish_win@outlook.com
  how to use keyboard "Space' using qtp Naresh 2 3,099 06-11-2015, 06:30 PM
Last Post: venkatesh9032
  How to call Actions from other Actions Naresh 1 7,966 09-25-2014, 10:26 AM
Last Post: vinod123
  Same command needs to be performed twice to actually perform it pistaa 2 2,917 04-25-2014, 01:26 PM
Last Post: pistaa
  Problem in Input from keyboard:sendkeys Rachna 1 4,974 10-14-2013, 06:07 PM
Last Post: anil2u

Forum Jump:


Users browsing this thread: 1 Guest(s)