Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checking Tool tip of field/Image/Radio Button
#1
Solved: 10 Years, 8 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: 10 Years, 8 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,238 09-25-2014, 12:12 PM
Last Post: vinod123
  Radio Group problem vinod123 4 5,537 09-25-2014, 12:10 PM
Last Post: vinod123
  How to validate tool tip in a web page? qtplearner88 3 4,144 04-24-2013, 05:19 PM
Last Post: nucleation
  Identifying radio buttons with same html ID but dynamic webelement properties manishac 12 12,994 05-03-2012, 06:27 AM
Last Post: manishac
  identifying Webradiobuttons in a web radio group swayampadhi88 1 6,366 02-18-2012, 08:53 AM
Last Post: inborntester

Forum Jump:


Users browsing this thread: 1 Guest(s)