How to Capture Tool tip Through QTP or UFT Script

0
30
Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Capture Tooltip in UFT or QTP
Tool Tip

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
Don't miss out!
Subscribe To Newsletter

Receive top technical news, lesson ideas, travel tips and more!

Invalid email address
Give it a try. You can unsubscribe at any time.

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

LEAVE A REPLY

Please enter your comment!
Please enter your name here