Need to SHIFT CLICK a row on a SwfTable. Help Please!
Question ID: 104397

I’m dealing with these annoying Infragistics controls. I need to SHIFT CLICK on a row on a SwfTable object. I’ve tried SendKeys methods and various other tricks that I’ve found on the internet to no avail. Basically I need to click a row, then shift click another row to highlight both those rows and all the rows in between. To click the row, you simply do this:

SwfWindow("XSP Toolbar").SwfWindow("Queue Explorer-Critical").SwfTable("queueExplorerUltraGrid").SelectRow 4

Marked as spam
Posted by (Questions: 16, Answers: 807)
Asked on October 11, 2011 12:29 pm
Answers (1)
Private answer

Have you tried to use the DeviceReplay instead of the sendKeys?

Const mykey_SHIFT = 42

Set deviceReplay = CreateObject( ''Mercury.DeviceReplay'' )

deviceReplay.KeyDown myKey_SHIFT

SwfWindow(''XSP Toolbar'').SwfWindow(''Queue Explorer-Critical'').SwfTable(''queueExplorerUltraGrid'').SelectRow 4

deviceReplay.KeyUp myKey_SHIFT

Set deviceReplay = Nothing

There is a good write up on Device Replay at this [site][1] or the following HP KB articles.

[What are the DeviceReplay.PressKey key Codes KM1194127][2]

[How to use the QuickTest Professional (QTP) Device Replay feature KM184330][3]


Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on November 29, 2011 3:35 pm

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

Scroll to Top