How to get the tool tip name of a icon in web application
Hi
I need script to capture the tool tip name of the image icon in my project..
Ex:--
I have the Sale order form..
In that "Item search" icon is there
When i keep the mouse pointer on a perticular item,it will display the item name....
I want to capture that item name in run time
plz help me frnd's
In Advance
Thanx
Re: How to get the tool tip name of a icon in web application
Hi Pushpalatha,
Incase it is a bitmap Image and you wish to capture the ToolTipText, I guess fetch the "alt" Property value of the Image. This would display the ToolTipText.
[COLOR="Blue"]Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("Featured Destination:").Click
msgbox Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("Featured Destination:").getTOProperty("alt")[/COLOR]
Let me know if this helps...
Cheers....
Re: How to get the tool tip name of a icon in web application
Hi Umesh
Thanx alot...
It's working
Re: How to get the tool tip name of a icon in web application
Hi Pushpalatha,
Anytime... Happy I could help..
Cheers....
Re: How to get the tool tip name of a icon in web application
You can also try with this
myToolTip = Browser("myBrowser").Page("myPage").Image("myImage").Object.title
msgbox myToolTip
Thanks,
Shyam