How to Capture Tooltip Through QTP Script

Most of the time we use to get this requirement that we need to capture capture tooltip through QTP.Some time we need to check a page with tool tip.
In 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 tooltip of 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
How to Capture Tooltip Through QTP Script How to Capture Tooltip Through QTP Script Reviewed by Animesh Chatterjee on December 15, 2008 Rating: 5

No comments:

Powered by Blogger.