Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

Need user action to Collapse a panel via vb script

$
0
0

Hi,

 

I need to collapse a panel (see attached). At the moment im recording the user action by keyword test and converting to Keyword test doesnt recgonise the little collapse button and clicks on the co-ordinates, which i dont want. In the object spy, there is a property called Collapsed - False. How do i use this in my script so that it minimizes the panel before doing other actions?

 

 

Sub Test3()
'Clicks at point (220, 15) of the 'khgMisc' object.
Call Aliases.PFU_3.frmReferenceInfo.kspltMain.kspltMain_Panel1.khgMisc.Collapsed("True")

End Sub

 

Thanks for helping :-)

 


Viewing all articles
Browse latest Browse all 20755

Trending Articles