Results 1 to 2 of 2

Thread: Is it possible to get the text from tool tip ???????

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Contributing Member
    Join Date
    Feb 2007
    Answers
    44

    Is it possible to get the text from tool tip ???????

    Hi ,

    In Winrunner, can we get the text from the tool tip. ?
    For example , when the mouse pointer is placed on the "start" in windows. We get a tool tip saying "Click here to start" . Is it possible to verify such kind of text.???

    Thanks in advance


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

    Re: Is it possible to get the text from tool tip ???????

    Hi Sowmya,

    You can use the "obj_get_tooltip_text" or "web_obj_get_tooltip_text" functions to retrieve the text displayed as tooltip.

    But you would need to download the associated CSO from Mercury Support site as these are libraries created for providing additional functionality in Winrunner.

    Some prerequisites are web add-in should be loaded and the following files should be located in your arch directory of Winrunner installation.

    • clipboard.dll
      csolib2.dll
      XLDDT.exe


    Once you have this dll/library file, you can use the web_obj_get_tooltip_text and pass the ObjectName, variable to hold the ToolTipText and the timeout for waiting for tooltip to appear.

    Cheers....


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