How to Capture Tool tip Through QTP or UFT Script
Most of the time we use to get this requirement that we need to capture tool tip through QTP. Sometimes we need to check a page with the tool tip.
In the web, this is a very powerful tool to work with automation. we can say in other words in automation in checkpoints it is really a great tool to verify a page, table, image.
Below script is for capturing tool tip of the textbox in Google Site.
msgbox getToolTip Function getToolTip() SystemUtil.Run"iexplore","http://www.google.com/" tooltip_name=Browser("name:=Google").Page("title:=Google").WebEdit("name:=q").Object.title getToolTip= tooltip_name End Function