Tooltip:A tooltip is a small pop-up window that appears when a user pauses the mouse pointer over an element.
QTP Script to capture tooltip.
Below script is for capturing tooltip of textbox in google Site.
SystemUtil.Run"iexplore","http://www.google.com/"
a=Browser("name:=Google").Page("title:=Google").WebEdit("name:=q").Object.title
msgbox a
QTP Script to capture tooltip of image.
SystemUtil.Run"iexplore","http://www.yahoomail.com/"
b=Browser("name:=Yahoo.*").Page("title:=Yahoo.*").Image("src:=https://a248.e.akamai.net/sec.yimg.com/i/reg/bnr_28.jpg").getROProperty("alt")
msgbox b
QTP Script to capture tooltip of link.
SystemUtil.Run"iexplore","http://www.yahoomail.com/"
c=Browser("name:=Yahoo.*").Page("title:=Yahoo.*").Link("name:=Yahoo!").object.title
msgbox c
Datatable Methods
Script for Connecting to Database
Movie Songs Lyrics
SQL Queries Collection
Showing posts with label tooltip. Show all posts
Showing posts with label tooltip. Show all posts
Descriptive Programming to Capture Tool Tip Text in QTP
Subscribe to:
Posts (Atom)