Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FireEvent problem
#1
Not Solved
Hello,

I have the following problem:

Can't get tooltip text in .Net application.

I start object spy, navigate to window with application, hit ctrl and point mouse at the object, but no tooltip popped up no matter how long I wait. When I work in the application without qtp tool tips pop up correctly.

Can you please advise me how to identify such tool tips?

QTP version: 10.00
Reply
#2
Not Solved
Hi unbeliever,

Code:
' Place mouse cursor over the link
Browser("Yahoo!").Page("Yahoo!").WebElement("text:=My Yahoo!").FireEvent "onmouseover"
' Grab tooltip
ToolTip = Window("nativeclass:=tooltips_class32").GetROProperty("text")

try this, u might solve your problem, if you have any more further query let me know

Thanks
Mahesh
Reply
#3
Not Solved
Hello,


Thanks for trying, this solution does not work for me, I can identify WebElement in my SUT and even FireEvent does not throw any error in code, but:

- I can't see tooltip during test run
- on line ToolTip = Window("nativeclass:=tooltips_class32").GetROProperty("text") QTP generates Run Error.

I want to check properties of that object and to find out what can be done.

Additional info: this is .NET application.
Reply
#4
Not Solved
Checkout this thread if any of the solution helps you.

Reply
#5
Not Solved
Looked through, tried something, but the bottomline is that it's not doable.

Thanks for help, anyway
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to fireevent on mouse over for Web Element vnsk 3 39,466 10-13-2011, 11:51 AM
Last Post: vnsk
Rolleyes FireEvent Method on WebEdit manjunath.rgl 0 9,471 08-25-2010, 02:07 PM
Last Post: manjunath.rgl
  FireEvent "onmouseover" doesn't work blanchedsouza 4 5,982 06-09-2009, 03:52 PM
Last Post: sharon

Forum Jump:


Users browsing this thread: 1 Guest(s)