How to get tool tip content in Selenium (asp.net app)?



  • Coding is done in asp.net. Please see the tool tip.Cant that be properly aligned? developer is saying that it is asp's default property and cant do anything. I don't have any idea on coding side.



  • Yes, it can be properly aligned: If it's not properly aligned, my guess it's because there are line-breaks in the tooltip text in the HTML, something like this: <option value="3" title="(Heat ) Burns of scald. The effect of contact with hot substances. (Chemical) burns, tissue damae resulting from the corrosive action chemicals, fume, etc., (acids, alkalies)">Burn 2</option> That results in a tooltip looking something like your screenshot: That's why I recommended you take a look at the HTML itself (right click on the screen and select View Source). On the other hand, even if you look at the HTML it doesn't give you the full story of why it's like that. For example, I don't know if that tooltip is hard-coded, or if it's configurable by the user somehow?


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2