Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Capture tooltip text through bitmap checkpoint
#2
Not Solved
I'm in the same boat on this. I have a java object with tooltip and would like to capture a bitmap to display in the results.
I have the captured 'text' from the mouseover with the following code, but I need an image now.
Can anyone help?

Code:
Window("Windows Internet Explorer").RunAnalog "Track3"
CustomerServiceMouseover = Window("nativeclass:=tooltips_class32").GetROProperty("text")
If CustomerServiceMouseover = "Click here to access Customer Service screen" Then
    Reporter.ReportEvent micPass, "Customer Service Mouseover text", "The text in the mouseover matches what was expected", "tempsnapshot.png"
Else
    Reporter.ReportEvent micFail, "Customer Service Mouseover text", "The text in the mouseove did not match what was expected or mouseover wasn't present", "tempsnapshot.png"
End If

btw. I have tried to capture bitmap of Window("Windows Internet Exploer"), but this captures the page without the mouseover.
Reply


Messages In This Thread
RE: Capture tooltip text through bitmap checkpoint - by Brian.Osborne - 10-04-2012, 06:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  text checkpoint properties error alp 0 1,192 11-24-2017, 04:36 PM
Last Post: alp
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,973 09-13-2015, 12:06 AM
Last Post: ADITI1992
  bitmap checkpoint ch_rk2004 0 1,639 07-16-2015, 05:15 PM
Last Post: ch_rk2004
  Capture Value through Text Checkpoint and compare with datatable value hamzaz 2 4,803 03-06-2014, 12:52 AM
Last Post: mallika.g
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,751 08-13-2013, 08:37 PM
Last Post: excellentpawan

Forum Jump:


Users browsing this thread: 2 Guest(s)