I have used CustomControl in QTP when i try to spy the control it will generate the following code,
Custom control
SwfWindow("Form1").SwfObject("customControl1").Click 72,49
Also, i have tested the panel and button. Please refer the below code, Panel
SwfWindow("Form1").SwfObject("panel1").Click 72,34
Button
SwfWindow("Button").SwfButton("Button").Click "Button"
How can i achieve like button in HP-QTP?
Thanks in advance.
Mohanraj G