Scenario : I have one button, Tool tip information showing the button mouseover.
1. Mouseover method is not available in SlvButton.
2. GetROProperty(“tooltip”) also tried.
I am working Silverlight application in QTP 11.
Please give any solution. Attached screenshot also. Thanks in advance.
Winds of Change
try "alt" property of the object.
QTP / UFT Videos from my Youtube Channel
QTP / UFT Videos from my Blog
U can try setting the ReplayType to 2 to listen to mouse events. Then use FireEvent "OnMouseOver" on the object. Then u can use B.P.Link.Object.GetAttribute("alt")
Screen shot attached. GetAttribute method is not available in qtp for Silverlight application.
Are you able to spy on the object(that gets displayed on mouse over). If yes do post its properties, check if you can use any of these to capture the text.
No object spy is not recognized the mouseover text.
I meant u need to hold the shift key and then spy over the WebElement/SlvElement. I do not have the tool so cannot chck at my end.
No its not working. but one method is available .descriptionvalue. i don't know how to use this method.
Use below method to get tooltip after mouse hovering window("nativeclass:=tooltips_class32").GetROPrope rty("text")