06-09-2008, 10:05 PM
I have an object on a Crystal Report window that the click event does not work consistently. The object, which is the Print button/icon, receives focus, but the click event does not happen every time. The recorded line of code is as follows:
I've tried the click event with coordinates and without and I've also tried mapping the object as a virtual object, but nothing seems to work. Any ideas on how to force the click event will be appreciated. Thanks!
(I'm using QTP 9.2 with Crystal Report 11 and a Windows .Net application.)
Code:
SwfWindow("Report").SwfObject("SwfObject").Click
I've tried the click event with coordinates and without and I've also tried mapping the object as a virtual object, but nothing seems to work. Any ideas on how to force the click event will be appreciated. Thanks!
(I'm using QTP 9.2 with Crystal Report 11 and a Windows .Net application.)