Header Ads

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.



SystemUtil.Run"iexplore","http://www.google.com/"

tooltip_name=Browser("name:=Google").Page("title:=Google").WebEdit("name:=q").Object.title

msgbox tooltip_name



Guys remember sytemutil.Run will not work always.visit my open an application post .














Powered by Blogger.