Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checking Tool tip of field/Image/Radio Button
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
How to chk tool tip given to a specific field is correct or not
I tried with
eg.
Code:
transportmode=Browser("Browser").Page("Mode of Transportation").WebEdit("txtTransportationMode").GetROProperty("alt")
msgbox transportmode

msgbox displays nothing, blank msgbox gets displayed with ok button.
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Here is the code -
Code:
Browser("Browser").Page("").WebElement("").FireEvent "onmouseover"
ToolTip = Window("nativeclass:=tooltips_class32").GetROProperty("text")
wait 1
If tooltip = "" Then
    reporter.ReportEvent 0,"Tool Tip","Valid Tool Tip"
    else
    reporter.ReportEvent 1,"Tool Tip","Invalid Tool Tip"
End If

Mayur
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Radio Button vinod123 8 10,622 09-25-2014, 12:12 PM
Last Post: vinod123
  Radio Group problem vinod123 4 5,793 09-25-2014, 12:10 PM
Last Post: vinod123
  How to validate tool tip in a web page? qtplearner88 3 4,320 04-24-2013, 05:19 PM
Last Post: nucleation
  Identifying radio buttons with same html ID but dynamic webelement properties manishac 12 13,752 05-03-2012, 06:27 AM
Last Post: manishac
  identifying Webradiobuttons in a web radio group swayampadhi88 1 6,695 02-18-2012, 08:53 AM
Last Post: inborntester

Forum Jump:


Users browsing this thread: 1 Guest(s)