Results 1 to 5 of 5

Thread: How to get the tool tip name of a icon in web application

  1. #1
    Junior Member
    Join Date
    Oct 2007
    Answers
    9

    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


  2. #2
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    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.

    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")


    Let me know if this helps...

    Cheers....


  3. #3
    Junior Member
    Join Date
    Oct 2007
    Answers
    9

    Re: How to get the tool tip name of a icon in web application

    Hi Umesh


    Thanx alot...
    It's working


  4. #4
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Re: How to get the tool tip name of a icon in web application

    Hi Pushpalatha,

    Anytime... Happy I could help..

    Cheers....


  5. #5
    Junior Member
    Join Date
    Mar 2008
    Answers
    4

    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


  6.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact